-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
59 lines (55 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
#!/usr/bin/env python
from setuptools import find_packages, setup
# Parse version number from msaDocModels/__init__.py:
with open("msaDocModels/__init__.py") as f:
info = {}
for line in f:
if line.startswith("version"):
exec(line, info)
break
setup_info = dict(
name="msaDocModels",
version=info["version"],
author="Stefan Welcker",
author_email="stefan@u2d.ai",
url="https://github.com/swelcker/msaDocModels",
download_url="http://pypi.python.org/pypi/msaDocModels",
project_urls={
"Documentation": "http://msaDocModels.u2d.ai/",
"Source": "https://github.com/swelcker/msaDocModels",
"Tracker": "https://github.com/swelcker/msaDocModels/issues",
},
description="msaDocModels - MSA Document Pydantic Models and Schemas, used to store Parser, NLP, NLU and AI results for processed documents",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
license="MIT",
classifiers=[
"Development Status :: 4 - Beta",
"Framework :: FastAPI",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Database",
"Topic :: Database :: Front-Ends",
"Topic :: Documentation",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Server",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
# Package info
packages=["msaDocModels"]
+ ["msaDocModels." + pkg for pkg in find_packages("msaDocModels")],
# Add _ prefix to the names of temporary build dirs
options={
"build": {"build_base": "_build"},
},
zip_safe=True,
)
setup(**setup_info)