Skip to content

Commit f160ef5

Browse files
author
nxexox
committed
mini fix new setup.py config
1 parent a9c1f3e commit f160ef5

File tree

3 files changed

+26
-2
lines changed

3 files changed

+26
-2
lines changed

docs/release-notes.md

+12
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ Medium version numbers (0.x.0) may include API changes, in line with the [deprec
88

99
Major version numbers (x.0.0) are reserved for substantial project milestones.
1010

11+
### 0.3.2
12+
13+
**Date:** [22th Jule 2019]
14+
15+
* Mini fix new setup.py config. Added requirements folder to `data_files` argument.
16+
17+
### 0.3.1
18+
19+
**Date:** [22th Jule 2019]
20+
21+
* Mini fix new setup.py config. Change requirements
22+
1123
### 0.3.0
1224

1325
**Date:** [19th Jule 2019]

rest_framework/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
__/ |
99
|___/
1010
"""
11-
VERSION = (0, 3, 0)
11+
VERSION = (0, 3, 2)
1212

1313
__title__ = 'Python-Rest-Framework'
1414
__author__ = 'Deys Timofey'

setup.py

+13-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
setup(
3030
name=rest_framework.__title__,
3131
version=rest_framework.__version__,
32-
packages=find_packages(exclude=('tests', '*tests', '*tests*', 'docs', 'docs_theme', 'requirements')), # We throw away from the assembly too much.
32+
packages=find_packages(
33+
exclude=('tests', '*tests', '*tests*', 'docs', 'docs_theme')
34+
), # We throw away from the assembly too much.
3335
include_package_data=True,
3436
test_suite='tests', # Include tests.
3537
license='Apache 2.0', # Put the license.
@@ -44,6 +46,16 @@
4446
'sanic': requirements_sanic
4547
},
4648
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+
],
4759
url=rest_framework.__url__,
4860
author=rest_framework.__author__,
4961
author_email=rest_framework.__email__,

0 commit comments

Comments
 (0)