diff options
-rw-r--r-- | Makefile | 17 | ||||
-rw-r--r-- | setup.cfg | 3 | ||||
-rw-r--r-- | setup.py | 2 |
3 files changed, 21 insertions, 1 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9a67ffd --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +EZ = bin/easy_install +VIRTUALENV = virtualenv +PYTHON = bin/python +HG = hg + +.PHONY: release build + +build: + $(VIRTUALENV) --no-site-packages --distribute . + $(PYTHON) setup.py build + +release: + hg tag `python setup.py --version` + hg ci -m "Release tagged" + cd docs; make html + $(PYTHON) setup.py upload_docs + $(PYTHON) setup.py register sdist upload @@ -1,3 +1,6 @@ [build_ext] # needed so that tests work without mucking with sys.path inplace = 1 + +[upload_docs] +upload-dir = docs/build/html @@ -219,7 +219,7 @@ setup(name="Distutils2", description=README, classifier=_CLASSIFIERS.split('\n'), packages=find_packages(), - cmdclass={'sdist': sdist_hg, 'install': install_hg}, + cmdclass={'sdist_hg': sdist_hg, 'install_hg': install_hg}, package_data={'distutils2._backport': ['sysconfig.cfg']}, project_url=[('Mailing list', 'http://mail.python.org/mailman/listinfo/distutils-sig/'), |