refactor setup.py

- use setuptools_scm to generate version number, normal releases will
use the tagged version (ie 1.9.1), versions installed from source will
append the git commit number to the version number (ie
1.9.1.dev61+g4584c93)

- use io.open() to read text files to correctly handle utf-8 characters

- use pip to parse requirements.txt

- update classifiers to specify python and django versions supported

- fix classifier for license

- wheel distributions can now be built using `python setup.py bdist_wheel`
This commit is contained in:
Andrew Fyfe
2018-01-12 19:53:01 +00:00
parent e8debf4e43
commit dfabe89899
3 changed files with 76 additions and 67 deletions
+2
View File
@@ -1,3 +1,5 @@
[bdist_wheel]
universal = 1
[pep8]
max-line-length = 80
exclude = migrations