Better install

This commit is contained in:
Xavier Bustamante Talavera 2018-07-08 14:24:02 +02:00
parent a792caf487
commit e4b130d64c
1 changed files with 11 additions and 6 deletions

View File

@ -9,6 +9,12 @@ with open('README.md', encoding='utf8') as f:
with open('ereuse_devicehub/__init__.py', 'rt', encoding='utf8') as f: with open('ereuse_devicehub/__init__.py', 'rt', encoding='utf8') as f:
version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1) version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)
test_requires = [
'pytest',
'pytest-datadir',
'requests_mock'
]
setup( setup(
name='ereuse-devicehub', name='ereuse-devicehub',
version=version, version=version,
@ -31,7 +37,6 @@ setup(
install_requires=[ install_requires=[
'teal>=0.2.0a6', 'teal>=0.2.0a6',
'marshmallow_enum', 'marshmallow_enum',
'marshmallow==3.0.0b9',
'ereuse-utils[Naming]>=0.4b1', 'ereuse-utils[Naming]>=0.4b1',
'psycopg2-binary', 'psycopg2-binary',
'requests', 'requests',
@ -49,12 +54,12 @@ setup(
'sphinxcontrib-httpdomain >= 1.5.0', 'sphinxcontrib-httpdomain >= 1.5.0',
'sphinxcontrib-plantuml >= 0.11', 'sphinxcontrib-plantuml >= 0.11',
'sphinxcontrib-websupport >= 1.0.1' 'sphinxcontrib-websupport >= 1.0.1'
] ],
'test': test_requires
}, },
tests_requires=[ tests_requires=test_requires,
'pytest', setup_requires=[
'pytest-datadir', 'pytest-runner'
'requests_mock'
], ],
classifiers=[ classifiers=[
'Development Status :: 2 - Pre-Alpha', 'Development Status :: 2 - Pre-Alpha',