Skip to content

Commit 97f1cb3

Browse files
committed
catch up with latest setuptools config.
1 parent 66cbed6 commit 97f1cb3

File tree

4 files changed

+62
-43
lines changed

4 files changed

+62
-43
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exclude cms_bluebutton/tests/**

cms_bluebutton/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.3"
1+
__version__ = "1.0.4"

pyproject.toml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "cms-bluebutton-sdk"
7+
authors = [
8+
{name = "CMS Blue Button 2.0 Team", email = "[email protected]"},
9+
]
10+
description = "An SDK used for interacting with the CMS Blue Button 2.0 API"
11+
requires-python = ">=3.9"
12+
readme = "README.md"
13+
version = "1.0.4"
14+
license = "CC0-1.0"
15+
classifiers=[
16+
"Programming Language :: Python :: 3",
17+
"Operating System :: OS Independent",
18+
"Development Status :: 5 - Production/Stable",
19+
"Intended Audience :: Developers",
20+
"Intended Audience :: Healthcare Industry",
21+
"Topic :: Software Development",
22+
"Topic :: Software Development :: Libraries :: Python Modules",
23+
]
24+
25+
dependencies = [
26+
"requests >= 2.32.3",
27+
"requests-toolbelt >= 0.9.1",
28+
"pyyaml >= 6.0.2",
29+
"idna >= 3.7",
30+
"urllib3 >= 1.26.8",
31+
"certifi == 2025.1.31"
32+
]
33+
34+
[project.optional-dependencies]
35+
dev = [
36+
"pylint >=2.14.0",
37+
"toml >=0.10.2",
38+
"pytest >= 8.3.5",
39+
"packaging >= 24.0",
40+
"flake8 >= 4.0.1",
41+
"coverage >= 6.3.2",
42+
"requests-mock >= 1.12.1",
43+
"pyyaml >= 6.0.2",
44+
]
45+
test = [
46+
"pytest >= 8.3.5",
47+
"packaging >= 24.0",
48+
"flake8 >= 4.0.1",
49+
"coverage >= 6.3.2",
50+
"requests-mock >= 1.12.1",
51+
"pyyaml >= 6.0.2",
52+
]
53+
54+
[tool.setuptools]
55+
py-modules = ["cms_bluebutton"]
56+
57+
[tool.setuptools.packages.find]
58+
include = ["cms_bluebutton*"]
59+
exclude = ["cms_bluebutton.tests.*"]

setup.py

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,4 @@
11
import setuptools
22

33

4-
version = {}
5-
with open("./cms_bluebutton/version.py") as fp:
6-
exec(fp.read(), version)
7-
8-
with open("README.md", "r", encoding="utf-8") as fh:
9-
long_description = fh.read()
10-
11-
setuptools.setup(
12-
name="cms-bluebutton-sdk",
13-
version=version['__version__'],
14-
author="CMS Blue Button 2.0 Team",
15-
author_email="[email protected]",
16-
license="CC0 1.0 Universal",
17-
description="An SDK used for interacting with the CMS Blue Button 2.0 API",
18-
long_description=long_description,
19-
long_description_content_type="text/markdown",
20-
url="https://github.com/CMSgov/cms-bb2-python-sdk",
21-
# For classifiers: https://pypi.org/classifiers/
22-
classifiers=[
23-
"Programming Language :: Python :: 3",
24-
"License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication",
25-
"Operating System :: OS Independent",
26-
"Development Status :: 5 - Production/Stable",
27-
"Intended Audience :: Developers",
28-
"Intended Audience :: Healthcare Industry",
29-
"Topic :: Software Development",
30-
"Topic :: Software Development :: Libraries :: Python Modules",
31-
],
32-
packages=setuptools.find_packages(),
33-
python_requires=">=3.6",
34-
install_requires=[
35-
"requests >= 2.32.0",
36-
"requests-toolbelt >= 0.9.1",
37-
"pyyaml >= 5.4.1",
38-
],
39-
extras_require={
40-
"dev": [
41-
"pytest >= 7.0.1",
42-
"requests-mock >= 1.9.3",
43-
],
44-
},
45-
)
4+
setuptools.setup()

0 commit comments

Comments
 (0)