install .[test] includes the [wallet-server]

This commit is contained in:
Lex Berezhny 2018-11-04 05:08:59 -05:00
parent ee1738da6e
commit e3b127192c

View file

@ -5,6 +5,11 @@ from setuptools import setup, find_packages
BASE = os.path.dirname(__file__) BASE = os.path.dirname(__file__)
README_PATH = os.path.join(BASE, 'README.md') README_PATH = os.path.join(BASE, 'README.md')
SERVER_REQUIRES = (
'msgpack',
'torba[server]',
)
setup( setup(
name=__name__, name=__name__,
version=__version__, version=__version__,
@ -45,17 +50,13 @@ setup(
'six' 'six'
], ],
extras_require={ extras_require={
'wallet-server': SERVER_REQUIRES,
'test': ( 'test': (
'mock>=2.0,<3.0', 'mock>=2.0,<3.0',
'faker==0.8.17', 'faker==0.8.17',
'pytest', 'pytest',
'pytest-asyncio', 'pytest-asyncio',
'pytest-xprocess', 'pytest-xprocess',
'torba[server]', ) + SERVER_REQUIRES,
),
'wallet-server': (
'msgpack',
'torba[server]',
),
} }
) )