Changeset - cbe96f6f0322
[Not reviewed]
0 1 0
Brett Smith - 6 years ago 2017-12-26 18:54:44
brettcsmith@brettcsmith.org
setup: Declare dependencies for nbpy2017 importer.
1 file changed with 18 insertions and 4 deletions:
setup.py
18
4
0 comments (0 inline, 0 general)
setup.py
Show inline comments
...
 
@@ -2,4 +2,20 @@
 

	
 
import itertools
 

	
 
from setuptools import setup, find_packages
 

	
 
REQUIREMENTS = {
 
    'install_requires': ['babel'],
 
    'setup_requires': ['pytest-runner'],
 
    'extras_require': {
 
        'nbpy2017': ['beautifulsoup4', 'html5lib'],
 
    },
 
}
 

	
 
REQUIREMENTS['tests_require'] = [
 
    'pytest',
 
    'PyYAML',
 
    *itertools.chain(*REQUIREMENTS['extras_require'].values()),
 
]
 

	
 
setup(
...
 
@@ -12,6 +28,2 @@ setup(
 

	
 
    install_requires=['babel'],
 
    setup_requires=['pytest-runner'],
 
    tests_require=['pytest', 'PyYAML'],
 

	
 
    packages=find_packages(include=['import2ledger', 'import2ledger.*']),
...
 
@@ -20,2 +32,4 @@ setup(
 
    },
 

	
 
    **REQUIREMENTS,
 
)
0 comments (0 inline, 0 general)