aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorromangraef <romangraef@loves.dicksinhisan.us>2018-07-11 15:35:46 +0200
committerromangraef <romangraef@loves.dicksinhisan.us>2018-07-11 15:38:05 +0200
commite71aa06a9a1ea1e58aa192353622d40791f751d4 (patch)
tree183f0fa309056b432c253f604d6ff6ffd6f27594 /setup.py
parentcbb9f2c3622ec96caf4ec9e58e84c8fbd3f45d23 (diff)
downloadconfiglib-e71aa06a9a1ea1e58aa192353622d40791f751d4.tar.gz
configlib-e71aa06a9a1ea1e58aa192353622d40791f751d4.tar.bz2
configlib-e71aa06a9a1ea1e58aa192353622d40791f751d4.zip
cleaning up docs + type hints
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index c7445fd..27cb9c7 100644
--- a/setup.py
+++ b/setup.py
@@ -5,11 +5,14 @@ find_packages
with open('configlib/version.py') as f:
_loc, _glob = {}, {}
exec(f.read(), _loc, _glob)
- version = {**_loc, **_glob}['version']
+ version = {**_loc, **_glob}['VERSION']
with open('requirements.txt') as f:
requirements = f.read().splitlines()
+with open('requirements-dev.txt') as f:
+ dev_requirements = f.read().splitlines()
+
with open('README.md') as f:
readme = f.read()
@@ -23,8 +26,12 @@ setup(
version=str(version),
install_requires=requirements,
long_description=readme,
- test_suite='tests.all_tests',
+ setup_requires=['pytest-runner', 'pytest-pylint'],
+ tests_require=['pytest', 'pylint'],
license="MIT",
+ extras_require={
+ 'dev': dev_requirements,
+ },
packages=['configlib'],
description="An easy python config manager",
classifiers=[