-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
64 lines (57 loc) · 1.89 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
# from setuptools import find_packages # type: ignore
from setuptools import setup # type: ignore
with open('README.rst') as readme_file:
long_description = readme_file.read()
requirements = [
'beautifulsoup4',
'lxml',
'requests',
]
test_requirements = [
'pytest>=3',
]
setup(
author='Oliver Stapel',
author_email='hardy.ecc95@gmail.com',
python_requires='>=3.7',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: Implementation :: CPython',
'Operating System :: POSIX :: Linux',
'Topic :: Other/Nonlisted Topic',
],
description='Collections of academic degrees, job (and peer) titles, and salutations.', # noqa
install_requires=requirements,
license='MIT license',
long_description=long_description,
long_description_content_type='text/x-rst',
# include_package_data will nullify package_data information
# see: https://stackoverflow.com/a/11848281/6597765
# EITHER include_package_data=True, OR package_dir and package_data
packages=['persontitles'],
include_package_data=True,
package_dir={"": "src"},
# this will NOT work:
# package_data={"persontitles": ["data/*.txt", "data/*.json"]},
keywords='person, titles, degrees',
name='persontitles',
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/0LL13/persontitles',
version='0.3.9',
zip_safe=False,
extras_require={
'dev': ['check-manifest'],
'test': ['pytest-cov'],
},
project_urls={
'Bug Reports': 'https://github.com/0LL13/persontitles/issues',
'Source': 'https://github.com/0LL13/persontitles',
},
)