-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
37 lines (32 loc) · 1.19 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
"""extendparser package installation."""
from setuptools import setup # type: ignore
from extendparser import __name__ as name, __version__, __author__, \
__email__, __license__
def doc():
"""Return README.rst content."""
with open("README.rst", "r", encoding="utf-8") as readme:
return readme.read().strip()
setup(
name=name,
version=__version__,
author=__author__,
author_email=__email__,
description=(
"ExtendParser extend stanrad ConfigParser for some functionality."),
long_description=doc(),
long_description_content_type="text/x-rst",
url="https://github.com/ondratu/extendparser",
license=__license__,
packages=["extendparser"],
package_data={"": ["py.typed"]},
data_files=[('share/doc/extendparser',
["README.rst", "COPYING", "ChangeLog", "AUTHORS",
"CONTRIBUTION.rst"])],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries"],
)