Commit 15a8114e authored by Tres Seaver's avatar Tres Seaver

Add 'setup.py docs' alias.

Runns 'setup.py develop' and installs documentation dependencies.
parent bf8decbb
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
Unreleased Unreleased
---------- ----------
- Added ``setup.py docs`` alias (runs ``setup.py develop`` and installs
documentation dependencies).
- Added ``setup.py dev`` alias (runs ``setup.py develop`` and installs - Added ``setup.py dev`` alias (runs ``setup.py develop`` and installs
testing dependencies). testing dependencies).
......
...@@ -10,3 +10,4 @@ cover-erase=1 ...@@ -10,3 +10,4 @@ cover-erase=1
[aliases] [aliases]
dev = develop easy_install zodburi[testing] dev = develop easy_install zodburi[testing]
docs = develop easy_install zodburi[docs]
...@@ -20,6 +20,7 @@ except: ...@@ -20,6 +20,7 @@ except:
requires = ['ZODB3'] requires = ['ZODB3']
tests_require = requires + ['mock'] tests_require = requires + ['mock']
testing_extras = tests_require + ['nose', 'coverage'] testing_extras = tests_require + ['nose', 'coverage']
docs_extras = tests_require + ['Sphinx']
setup(name='zodburi', setup(name='zodburi',
version='1.2dev', version='1.2dev',
...@@ -51,5 +52,6 @@ setup(name='zodburi', ...@@ -51,5 +52,6 @@ setup(name='zodburi',
""", """,
extras_require = { extras_require = {
'testing': testing_extras, 'testing': testing_extras,
'docs': docs_extras,
}, },
) )
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment