Work on galaxy-util optional dependencies.

This commit is contained in:
John Chilton
2019-06-05 16:44:34 -04:00
parent 0a95f68f59
commit d7e08adeeb
3 changed files with 9 additions and 2 deletions
+5 -1
View File
@@ -21,7 +21,11 @@ PACKAGE_DIRS="
for package_dir in $PACKAGE_DIRS; do
cd "$package_dir"
python setup.py install
pip install -e .
if [ "$package_dir" = "util" ];
then
pip install -e '.[template,jstree]'
fi
pytest --doctest-modules galaxy tests
cd ..
done
-1
View File
@@ -1,7 +1,6 @@
bleach
boltons
bz2file; python_version < '3.3'
Cheetah3
docutils
markupsafe
packaging
+4
View File
@@ -80,6 +80,10 @@ setup(
package_dir=PACKAGE_DIR,
include_package_data=True,
install_requires=requirements,
extras_require={
'template': ['future', 'Cheetah3'],
'jstree': ['dictobj'],
},
license="AFL",
zip_safe=False,
keywords='galaxy',