forked from nazrulworld/fhir.resources
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
115 lines (104 loc) · 3.51 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from setuptools import setup, find_namespace_packages
with open("README.rst") as readme_file:
readme = readme_file.read()
with open("HISTORY.rst") as history_file:
history = history_file.read()
requirements = ["pydantic[email]>=1.7.2"]
setup_requirements = ["pytest-runner"]
orjson_requirements = ["orjson>=3.4.3"]
yaml_requirements = ["PyYAML>=5.4.1"]
xml_requirements = ["lxml"]
test_requirements = [
"coverage",
"pytest>5.4.0;python_version>='3.6'",
"pytest-cov>=2.10.0;python_version>='3.6'",
"flake8==3.8.3",
"flake8-isort==3.0.0",
"flake8-bugbear==20.1.4",
"requests==2.23.0",
"isort==4.3.21",
"black",
"mypy==0.812",
]
development_requirements = [
"Jinja2==2.11.1",
"MarkupSafe==1.1.1",
"colorlog==2.10.0",
"certifi",
"fhirspec",
"zest-releaser[recommended]",
]
setup(
author="Md Nazrul Islam",
author_email="[email protected]",
# Get more from https://pypi.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Healthcare Industry",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Typing :: Typed",
],
description="FHIR Resources as Model Class",
install_requires=requirements,
license="BSD license",
long_description=readme + "\n\n" + history,
include_package_data=True,
keywords="fhir, resources, python, hl7, health IT, healthcare",
name="fhir.resources",
namespace_packages=["fhir"],
packages=find_namespace_packages(
include=["fhir*"],
exclude=[
"ez_setup",
"tests",
"fhir-parser*",
"fhir.resources.tests",
"fhir.resources.STU3.tests",
"fhir.resources.DSTU2.tests",
],
),
package_data={"fhir.resources": ["py.typed"]},
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
extras_require={
"orjson": orjson_requirements,
"yaml": yaml_requirements,
"xml": xml_requirements,
"test": (
test_requirements
+ setup_requirements
+ orjson_requirements
+ yaml_requirements
+ xml_requirements
),
"dev": (test_requirements + development_requirements),
"all": (orjson_requirements + yaml_requirements + xml_requirements),
},
url="https://github.com/nazrulworld/fhir.resources",
version="6.3.0.dev0",
zip_safe=False,
python_requires=">=3.6",
project_urls={
"CI: Travis": "https://travis-ci.org/github/nazrulworld/fhir.resources",
"Coverage: codecov": "https://codecov.io/gh/nazrulworld/fhir.resources",
"GitHub: issues": "https://github.com/nazrulworld/fhir.resources/issues",
"GitHub: repo": "https://github.com/nazrulworld/fhir.resources",
},
)