Commits

Mikhail Korobov committed d3fd420

support for sphinx-pypi-upload and ./setup develop

Comments (0)

Files changed (2)

+[build_sphinx]
+source-dir = docs/
+build-dir  = docs/_build
+all_files  = 1
+
+[upload_sphinx]
+upload-dir = docs/_build/html
 #!/usr/bin/env python
 from distutils.core import setup
 
+for cmd in ('egg_info', 'develop', 'upload_sphinx', 'build_sphinx'):
+    import sys
+    if cmd in sys.argv:
+        from setuptools import setup
+
 version='0.1.1'
 
 setup(