aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py39
1 files changed, 14 insertions, 25 deletions
diff --git a/setup.py b/setup.py
index 62aec94..0e4c5fb 100755
--- a/setup.py
+++ b/setup.py
@@ -37,29 +37,6 @@ class TestsWithCoverage(test, object):
37 cov.html_report() 37 cov.html_report()
38 38
39 39
40requires = {
41 "setup_requires": [
42 "wheel",
43 "flake8>=3.3",
44 ],
45 "tests_require": [
46 "mock>=2,<3",
47 "coverage>=4.1,<5",
48 "cryptography>=2,<3",
49 ],
50 "install_requires": [
51 "requests>=2,<3",
52 ],
53}
54
55
56if sys.version_info.major == 3 and sys.version_info.minor >= 4:
57 requires["install_requires"].append("blowfish>=0.6.1,<1.0")
58else:
59 requires["install_requires"].append("cryptography>=2,<3")
60 requires["install_requires"].append("enum34")
61
62
63setup( 40setup(
64 name="pydora", 41 name="pydora",
65 version="2.0.0", 42 version="2.0.0",
@@ -79,6 +56,19 @@ setup(
79 "pydora-configure = pydora.configure:main", 56 "pydora-configure = pydora.configure:main",
80 ], 57 ],
81 }, 58 },
59 setup_requires=[
60 "wheel",
61 "flake8>=3.3",
62 ],
63 tests_require=[
64 "mock>=2,<3",
65 "coverage>=4.1,<5",
66 "cryptography>=2,<3",
67 ],
68 install_requires=[
69 "requests>=2,<3",
70 "blowfish>=0.6.1,<1.0",
71 ],
82 classifiers=[ 72 classifiers=[
83 "Development Status :: 5 - Production/Stable", 73 "Development Status :: 5 - Production/Stable",
84 "Environment :: Console", 74 "Environment :: Console",
@@ -91,6 +81,5 @@ setup(
91 "Programming Language :: Python :: 3.7", 81 "Programming Language :: Python :: 3.7",
92 "Topic :: Internet :: WWW/HTTP", 82 "Topic :: Internet :: WWW/HTTP",
93 "Topic :: Multimedia :: Sound/Audio :: Players", 83 "Topic :: Multimedia :: Sound/Audio :: Players",
94 ], 84 ]
95 **requires
96) 85)