Commit d6d4e93c authored by Satwik Kansal's avatar Satwik Kansal

setup.py: Add missing params

The requirements specified in "requirements.txt" and
"test-requirements.txt" files should be passed as params
`install_requires` and `tests_require` respectively to
the `setuptools.setup` function.

Fixes #42
parent 48bf6e4e
Pipeline #11078337 passed with stage
in 1 minute and 36 seconds
......@@ -7,6 +7,11 @@ from setuptools import find_packages
with open("README.rst") as readme:
long_description = readme.read()
with open('requirements.txt') as requirements:
required = requirements.read().splitlines()
with open('test-requirements.txt') as requirements:
test_required = requirements.read().splitlines()
setup(
name='coala_utils',
......@@ -18,6 +23,8 @@ setup(
url='https://gitlab.com/coala/coala-utils',
package_data={'coala_utils': ["VERSION"]},
packages=find_packages(exclude=["build.*", "tests", "tests.*"]),
install_requires=required,
tests_require=test_required,
long_description=long_description,
keywords=['coala', 'utils', 'bears', 'decorators'],
classifiers=[
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment