Total Complexity | 0 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | #!/usr/bin/python |
||
2 | # -*- coding: utf-8 -*- |
||
3 | import os |
||
4 | |||
5 | from setuptools import setup, find_packages |
||
6 | |||
7 | current_directory = os.path.abspath(os.path.dirname(__file__)) |
||
8 | |||
9 | about = {} |
||
10 | with open(os.path.join(current_directory, 'saucenao', '__version__.py'), 'r') as f: |
||
11 | exec(f.read(), about) |
||
12 | |||
13 | with open("README.md", "r") as fh: |
||
14 | long_description = fh.read() |
||
15 | |||
16 | setup(name=about['__title__'], |
||
17 | version=about['__version__'], |
||
18 | description=about['__description__'], |
||
19 | long_description=long_description, |
||
20 | long_description_content_type="text/markdown", |
||
21 | url=about['__url__'], |
||
22 | author=about['__author__'], |
||
23 | author_email=about['__author_email__'], |
||
24 | license=about['__license__'], |
||
25 | packages=find_packages(), |
||
26 | install_requires=[ |
||
27 | 'bs4>=0.0.1', |
||
28 | 'requests>=2.18.4' |
||
29 | ], |
||
30 | extras_require={ |
||
31 | 'titlesearch': [ |
||
32 | 'titlesearch>=0.0.1' |
||
33 | ], |
||
34 | 'dev': [ |
||
35 | 'python-dotenv>=0.7.1', |
||
36 | 'Pillow>=5.0.0', |
||
37 | 'requests_mock>=1.4.0', |
||
38 | 'nose-exclude>=0.5.0', |
||
39 | 'coveralls>=1.10.0' |
||
40 | ] |
||
41 | }, |
||
42 | zip_safe=True) |
||
43 |