-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
67 lines (62 loc) · 2.03 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
65
66
67
"""
PyMultiDictionary
https://github.com/ppizarror/PyMultiDictionary
SETUP DISTRIBUTION
Create setup for PyPI.
"""
from setuptools import setup, find_packages
import PyMultiDictionary
# Load readme
with open('README.rst', encoding='utf-8') as f:
long_description = f.read()
# Load requirements
with open('requirements.txt', encoding='utf-8') as f:
requirements = []
for line in f:
requirements.append(line.strip())
# Setup library
setup(
name=PyMultiDictionary.__module_name__,
version=PyMultiDictionary.__version__,
author=PyMultiDictionary.__author__,
author_email=PyMultiDictionary.__email__,
description=PyMultiDictionary.__description__,
long_description=long_description,
url=PyMultiDictionary.__url__,
project_urls={
'Bug Tracker': PyMultiDictionary.__url_bug_tracker__,
'Documentation': PyMultiDictionary.__url_documentation__,
'Source Code': PyMultiDictionary.__url_source_code__
},
license=PyMultiDictionary.__license__,
platforms=['any'],
keywords=PyMultiDictionary.__keywords__,
classifiers=[
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python',
'Topic :: Multimedia',
'Topic :: Text Processing'
],
include_package_data=True,
packages=find_packages(exclude=['test']),
python_requires='>=3.7, <4',
install_requires=requirements,
extras_require={
'docs': ['sphinx<7', 'sphinx-autodoc-typehints>=1.2.0', 'sphinx-rtd-theme'],
'test': ['nose2[coverage_plugin]', 'pytest']
},
setup_requires=[
'setuptools',
],
options={
'bdist_wheel': {'universal': False}
}
)