Archives week 33 of 2015

Aug. 17, 2015 - Aug. 23, 2015

Never use python setup.py upload

Published Aug. 23, 2015 in Deployment, Development - Last update on Aug. 23, 2015.

In Python packaged projects where I work, I used to add a make register command for create a new version of my package. This launch a script I wrote which make the following things:

  1. Get the version number written in package
  2. Create a git tag
  3. Push the tag to the upstream
  4. Create a package
  5. Upload ...

Continue reading

Pywikipedia is dead! Long live to PyWikibot!

Published Aug. 20, 2015 in Development - Last update on Aug. 21, 2015.

Make a Wikipedia bot is one of the first thing I made in Python. I used to make toolbox, categories and tasks for sort articles. There are a lot of client library for use MediaWiki API, more than 20, and my goal wasn't really to use MediaWiki API but more to read and write ...

Continue reading

Daily archives

Previous week

Week 32 of 2015

Archives