-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
56 lines (50 loc) · 1.68 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
from setuptools import setup
VERSION = "1.2.1"
GITHUB = "https://github.com/izxxr/oblate"
DOCUMENTATION = "https://oblate.readthedocs.io"
LICENSE = "MIT"
PACKAGES = ["oblate", "oblate.fields"]
with open("README.MD", "r", encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()
with open("requirements.txt", "r") as f:
REQUIREMENTS = f.readlines()
while "\n" in REQUIREMENTS:
REQUIREMENTS.remove("\n")
EXTRA_REQUIREMENTS = {}
setup(
name="oblate",
author="izxxr",
version=VERSION,
license=LICENSE,
url=GITHUB,
project_urls={
"Documentation": DOCUMENTATION,
"Issue tracker": GITHUB + "/issues",
},
description='Python library for data validation',
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
include_package_data=True,
install_requires=REQUIREMENTS,
extra_requires=EXTRA_REQUIREMENTS,
packages=PACKAGES,
python_requires='>=3.7.0',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'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',
'Topic :: Internet',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
'Typing :: Typed',
]
)