Setup: add universal wheel; update metadata; clean up setup.py

* Follow current setup.py recommendations from the pypa sample project
  (utf-8 encoding on file reads, ensure files are read relative to
  own location)
* Add/update some missing classifiers and other metadata
* Read _version.py constants into an isolated dict (rather than
  the global setup.py context)
* Add setup.cfg specifying universal bdist_wheel
This commit is contained in:
medmunds
2018-03-01 13:14:05 -08:00
parent 06c7077e37
commit deea8c5d5b
4 changed files with 37 additions and 12 deletions

View File

@@ -1,3 +1,3 @@
VERSION = (1, 4)
VERSION = (2, 0, 0, 'dev5')
__version__ = '.'.join([str(x) for x in VERSION]) # major.minor.patch or major.minor.devN
__minor_version__ = '.'.join([str(x) for x in VERSION[:2]]) # Sphinx's X.Y "version"