Skip to content

Commit 03711b0

Browse files
committed
Remove setup.py in favour of pyproject
1 parent 810dcbe commit 03711b0

7 files changed

+54
-115
lines changed

Diff for: CONTRIBUTING.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Contributing
2+
3+
We have provided detailed documentation for ways in which you can
4+
contribute to Pulp here:
5+
https://pulpproject.org/dev/
6+
7+
This documentation includes:
8+
9+
* Suggestions of how to contribute
10+
* How we track bugs
11+
* Ways to get in touch with other contributors who can advise you
12+
* A contribution checklist
13+
* A developer guide
14+
15+
Join us! We look forward to hearing from you.

Diff for: CONTRIBUTING.rst

-35
This file was deleted.

Diff for: HISTORY.rst

-35
This file was deleted.

Diff for: MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
include LICENSE
22
include pulp_container/app/webserver_snippets/*
3-
include requirements.txt
43
include pyproject.toml
54
include CHANGES.md
65
include COMMITMENT
76
include COPYRIGHT
87
include functest_requirements.txt
98
include test_requirements.txt
109
include unittest_requirements.txt
10+
exclude CONTRIBUTING.md
1111
exclude releasing.md

Diff for: pyproject.toml

+38-6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,43 @@ requires = [
55
]
66
build-backend = 'setuptools.build_meta'
77

8+
[project]
9+
name = "pulp-container"
10+
version = "2.23.0.dev"
11+
description = "Container plugin for the Pulp Project"
12+
readme = "README.md"
13+
authors = [
14+
{name="Pulp Team", email="[email protected]"},
15+
]
16+
classifiers=[
17+
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
18+
"Operating System :: POSIX :: Linux",
19+
"Development Status :: 5 - Production/Stable",
20+
"Framework :: Django",
21+
"Programming Language :: Python",
22+
"Programming Language :: Python :: 3",
23+
"Programming Language :: Python :: 3.9",
24+
]
25+
requires-python = ">=3.9"
26+
dependencies = [
27+
"jsonschema>=4.4,<4.24",
28+
"pulpcore>=3.49.0,<3.70",
29+
"pyjwt[crypto]>=2.4,<2.11",
30+
]
31+
32+
[project.urls]
33+
Homepage = "https://pulpproject.org"
34+
Documentation = "https://pulpproject.org/pulp_container/"
35+
Repository = "https://github.com/pulp/pulp_container"
36+
"Bug Tracker" = "https://github.com/pulp/pulp_container/issues"
37+
Changelog = "https://pulpproject.org/pulp_container/changes/"
38+
39+
[project.entry-points."pulpcore.plugin"]
40+
pulp_container = "pulp_container:default_app_config"
41+
42+
[tool.setuptools.packages.find]
43+
where = ["."]
44+
845
[tool.towncrier]
946
package = "pulp_container"
1047
filename = "CHANGES.md"
@@ -33,18 +70,13 @@ exclude = '''
3370

3471
[tool.check-manifest]
3572
ignore = [
36-
".bumpversion.cfg",
3773
".gitleaks.toml",
3874
"CHANGES/**",
39-
"CONTRIBUTING.rst",
40-
"HISTORY.rst",
4175
"dev_requirements.txt",
4276
"doc_requirements.txt",
4377
"docs/**",
4478
"staging_docs/**",
4579
"template_config.yml",
46-
".travis/**",
47-
".travis.yml",
4880
".pep8speaks.yml",
4981
".ci/**",
5082
".github/**",
@@ -81,4 +113,4 @@ search = "version = \"{current_version}\""
81113
replace = "version = \"{new_version}\""
82114

83115
[[tool.bumpversion.files]]
84-
filename = "./setup.py"
116+
filename = "./setup.py"

Diff for: requirements.txt

-3
This file was deleted.

Diff for: setup.py

-35
This file was deleted.

0 commit comments

Comments
 (0)