-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
60 lines (54 loc) · 1.74 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
import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), "README.md")) as readme:
long_description = readme.read()
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
setup(
name="typedpy",
packages=find_packages(
include=[
"typedpy",
"typedpy.scripts",
"typedpy.structures",
"typedpy.fields",
"typedpy.extfields",
"typedpy.json_schema",
"typedpy.serialization",
"typedpy.stubs",
]
),
entry_points={
"console_scripts": [
"create-stub=typedpy.scripts.create_stub:main",
"create-stubs-for-dir=typedpy.scripts.create_stubs:main",
],
},
install_requires=[],
author="Danny Loya",
author_email="[email protected]",
classifiers=classifiers,
description="Type-safe Python",
long_description_content_type="text/markdown",
license="MIT",
long_description=long_description,
url="https://github.com./loyada/typedpy",
download_url="https://github.com./loyada/typedpy/archive/v2.28.3.tar.gz",
keywords=["testing", "type-safe", "strict", "schema", "validation"],
version="2.28.3",
)
# coverage run --source=typedpy/ setup.py test
# coverage html
# load in browser from coverage_html_report
# pylint --rcfile=setup.cfg typedpy
# or
# python3 setup.py lint