-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
76 lines (71 loc) · 2.12 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
68
69
70
71
72
73
74
75
76
"""
PyDetex
https://github.com/ppizarror/PyDetex
SETUP DISTRIBUTION
Create setup for PyPI.
"""
from setuptools import setup, find_packages
import pydetex
# 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=pydetex.__module_name__,
version=pydetex.__version__,
author=pydetex.__author__,
author_email=pydetex.__email__,
description=pydetex.__description__,
long_description=long_description,
url=pydetex.__url__,
project_urls={
'Bug Tracker': pydetex.__url_bug_tracker__,
'Documentation': pydetex.__url_documentation__,
'Source Code': pydetex.__url_source_code__
},
license=pydetex.__license__,
platforms=['any'],
keywords=pydetex.__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,
entry_points={
'console_scripts': [
'pydetex = pydetex.gui:main',
],
'gui_scripts': [
'pydetex = pydetex.gui:main',
]
},
extras_require={
'docs': ['sphinx<7', 'sphinx-autodoc-typehints>=1.2.0', 'sphinx-rtd-theme'],
'installer': ['pyinstaller==6.7.0'],
'test': ['nose2[coverage_plugin]', 'pytest']
},
setup_requires=[
'setuptools',
],
options={
'bdist_wheel': {'universal': False}
}
)