1
|
|
|
#!/usr/bin/env python |
2
|
|
|
# -*- coding: utf-8 -*- |
3
|
|
|
|
4
|
|
|
"""The setup script.""" |
5
|
|
|
|
6
|
|
|
from setuptools import find_packages, setup # type: ignore |
7
|
|
|
|
8
|
|
|
with open("README.rst") as readme_file: |
9
|
|
|
long_description = readme_file.read() |
10
|
|
|
|
11
|
|
|
requirements = [ |
12
|
|
|
"beautifulsoup4", |
13
|
|
|
"lxml", |
14
|
|
|
"requests", |
15
|
|
|
"gender-guesser", |
16
|
|
|
"tinydb" |
17
|
|
|
] |
18
|
|
|
|
19
|
|
|
setup_requirements = [ |
20
|
|
|
"pytest-runner", |
21
|
|
|
] |
22
|
|
|
|
23
|
|
|
test_requirements = [ |
24
|
|
|
"pytest>=3", |
25
|
|
|
] |
26
|
|
|
|
27
|
|
|
setup( |
28
|
|
|
author="Oliver Stapel", |
29
|
|
|
author_email="[email protected]", |
30
|
|
|
python_requires=">=3.8", |
31
|
|
|
classifiers=[ |
32
|
|
|
"Development Status :: 2 - Pre-Alpha", |
33
|
|
|
"Intended Audience :: Developers", |
34
|
|
|
"License :: OSI Approved :: MIT License", |
35
|
|
|
"Natural Language :: English", |
36
|
|
|
"Programming Language :: Python :: 3.8", |
37
|
|
|
"Programming Language :: Python :: Implementation :: CPython", |
38
|
|
|
"Operating System :: POSIX :: Linux", |
39
|
|
|
"Topic :: Other/Nonlisted Topic", |
40
|
|
|
], |
41
|
|
|
description="A set of dataclasses concerning roles of persons and their particulars", # noqa |
42
|
|
|
install_requires=requirements, |
43
|
|
|
license="MIT license", |
44
|
|
|
long_description=long_description, |
45
|
|
|
long_description_content_type="text/x-rst", |
46
|
|
|
include_package_data=True, |
47
|
|
|
keywords="person, roles", |
48
|
|
|
name="personroles", |
49
|
|
|
packages=find_packages(exclude=("tests",)), # noqa |
50
|
|
|
setup_requires=setup_requirements, |
51
|
|
|
test_suite="tests", |
52
|
|
|
tests_require=test_requirements, |
53
|
|
|
url="https://github.com/0LL13/person", |
54
|
|
|
version="0.1.7", |
55
|
|
|
zip_safe=False, |
56
|
|
|
extras_require={ |
57
|
|
|
"dev": ["check-manifest"], |
58
|
|
|
"test": ["pytest-cov"], |
59
|
|
|
}, |
60
|
|
|
project_urls={ |
61
|
|
|
"Bug Reports": "https://github.com/0LL13/person/issues", |
62
|
|
|
"Source": "https://github.com/0LL13/person", |
63
|
|
|
}, |
64
|
|
|
) |
65
|
|
|
|