There be tests ! And a massive code reorg to support the tests, And pep8 and pylint...
[margebot.git] / setup.py
diff --git a/setup.py b/setup.py
new file mode 100644 (file)
index 0000000..e7f4764
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,27 @@
+"""
+Setup.py
+"""
+# pragma pylint: disable=invalid-name
+from setuptools import setup
+
+with open('requirements.txt') as f:
+    install_required = f.read().splitlines()
+
+with open('test-requirements.txt') as f:
+    tests_required = f.read().splitlines()
+
+setup(
+    name='Margebot',
+    version='1.0.0',
+    packages=['plugins', ],
+    license='GPLv3',
+    long_description=open('README.md').read(),
+    url='https://pwan.org/git/?p=margebot.git;a=summary',
+    author='JudeN',
+    author_email='margebot_spam@pwan.org',
+
+    install_requires=install_required,
+
+    setup_requires=['pytest-runner'],
+    tests_require=tests_required,
+)