Modernize packaging
Review Request #6742 — Created Jan. 6, 2015 and discarded — Latest diff uploaded
The project has apparently moved from Google Code to GitHub. Update the link in setup.py. Remove ez_setup ez_setup was a workaround from the dark days of Python packaging, before setuptools and pip were common on machines. setuptools is almost universally available these days. So, we stop using ez_setup and just use setuptools directly. For reference, the current version of the Python Packaging User Guide (https://python-packaging-user-guide.readthedocs.org/en/latest/distributing.html) recommends using setuptools directly from setup.py. Switch to modern packaging django-evolution is currently distributed using egg packaging via http://downloads.reviewboard.org/. This is problematic for 2 main reasons. First, egg packaging is old and dated. The Python Packaging User Guide recommends wheels and source distributions, not eggs. This patch rips out references to eggs and replaces them with wheel support. Second, distribution over plain text via downloads.reviewboard.org makes pip and people wearing security hats unhappy. Python packages should be distributed over a TLS-secured transport. Most Python packages use https://pypi.python.org/. I believe django-evolution should too. This patch assumes that PyPI will be used for distribution going forward. As such, references to the old download URL have been removed. Instead, pip/PyPI will do their discovery dance to find available packages (presumably wheels). After this patch is incorporated, a new release can be made to PyPI by following the instructions at https://python-packaging-user-guide.readthedocs.org/en/latest/distributing.html#uploading-your-project-to-pypi
pip wheel .
andpython setup.py bdist_wheel
both seem to work.