|
7 | 7 | with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f:
|
8 | 8 | README = f.read()
|
9 | 9 |
|
10 |
| -with open(os.path.join(os.path.dirname(__file__), 'requirements', 'requirements-app.txt')) as f: |
11 |
| - requirements = f.read() |
12 |
| - |
13 |
| -with open(os.path.join(os.path.dirname(__file__), 'requirements', 'requirements-setup.txt')) as f: |
14 |
| - requirements_setup = f.read() |
15 |
| - |
16 |
| -with open(os.path.join(os.path.dirname(__file__), 'requirements', 'requirements-tests.txt')) as f: |
17 |
| - requirements_test = f.read() |
18 |
| - |
19 |
| -with open(os.path.join(os.path.dirname(__file__), 'requirements', 'requirements-flask.txt')) as f: |
20 |
| - requirements_flask = f.read() |
21 |
| - |
22 |
| -with open(os.path.join(os.path.dirname(__file__), 'requirements', 'requirements-aiohttp.txt')) as f: |
23 |
| - requirements_aiohttp = f.read() |
24 |
| - |
25 |
| -with open(os.path.join(os.path.dirname(__file__), 'requirements', 'requirements-sanic.txt')) as f: |
26 |
| - requirements_sanic = f.read() |
27 |
| - |
28 | 10 |
|
29 | 11 | setup(
|
30 | 12 | name=rest_framework.__title__,
|
|
38 | 20 | description='Python Rest Framework. Box utils for easy makes rest api on python',
|
39 | 21 | long_description=README,
|
40 | 22 | long_description_content_type='text/markdown',
|
41 |
| - install_requires=requirements, |
42 |
| - tests_require=requirements_test, |
| 23 | + install_requires=['six>=1'], |
| 24 | + tests_require=['codecov>=2', 'coverage>=4'], |
43 | 25 | extras_require={
|
44 |
| - 'aiohttp': requirements_aiohttp, |
45 |
| - 'flask': requirements_flask, |
46 |
| - 'sanic': requirements_sanic |
| 26 | + 'aiohttp': ['aiohttp'], |
| 27 | + 'flask': ['flask'], |
| 28 | + 'sanic': ['sanic'] |
47 | 29 | },
|
48 |
| - setup_requires=requirements_setup, |
49 |
| - data_files=[ |
50 |
| - ('requirements', [ |
51 |
| - 'requirements/requirements-app.txt', |
52 |
| - 'requirements/requirements-tests.txt', |
53 |
| - 'requirements/requirements-setup.txt', |
54 |
| - 'requirements/requirements-aiohttp.txt', |
55 |
| - 'requirements/requirements-flask.txt', |
56 |
| - 'requirements/requirements-sanic.txt' |
57 |
| - ]) |
58 |
| - ], |
| 30 | + setup_requires=['twine>=1', 'mkdocs>=1'], |
59 | 31 | url=rest_framework.__url__,
|
60 | 32 | author=rest_framework.__author__,
|
61 | 33 | author_email=rest_framework.__email__,
|
|
0 commit comments