Skip to content

Commit 671f04d

Browse files
committed
Switch away from setup.py
1 parent 9afd90b commit 671f04d

File tree

6 files changed

+67
-98
lines changed

6 files changed

+67
-98
lines changed

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://docs.pulpproject.org/contributing/
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.

CONTRIBUTING.rst

-47
This file was deleted.

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ include requirements.txt
33
include pyproject.toml
44
include CHANGES.md
55
include COMMITMENT
6+
exclude CONTRIBUTING.md
67
include COPYRIGHT
78
include functest_requirements.txt
89
include test_requirements.txt

pyproject.toml

+51-9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,51 @@
1+
[build-system]
2+
requires = [
3+
"setuptools >= 40.8.0",
4+
"wheel >= 0.29.0",
5+
]
6+
build-backend = 'setuptools.build_meta'
7+
8+
[project]
9+
name = "pulp_python"
10+
version = "3.13.0.dev"
11+
description = "pulp-python 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+
"pulpcore>=3.49.0,<3.70",
28+
"pkginfo>=1.10.0,<1.12.0", # Twine has <1.11 in their requirements
29+
"bandersnatch>=6.3,<7.0", # Anything >6.3 requires Python 3.10+
30+
"pypi-simple>=1.5.0,<2.0",
31+
]
32+
33+
[project.urls]
34+
Homepage = "https://pulpproject.org"
35+
Documentation = "https://pulpproject.org/pulp_python/"
36+
Repository = "https://github.com/pulp/pulp_python"
37+
"Bug Tracker" = "https://github.com/pulp/pulp_python/issues"
38+
Changelog = "https://pulpproject.org/pulp_python/changes/"
39+
40+
[project.entry-points."pulpcore.plugin"]
41+
pulp_python = "pulp_python:default_app_config"
42+
43+
[project.entry-points."pytest11"]
44+
pulp_python = "pulp_python.pytest_plugin"
45+
46+
[tool.setuptools.packages.find]
47+
where = ["."]
48+
149
[tool.towncrier]
250
package = "pulp_python"
351
filename = "CHANGES.md"
@@ -10,21 +58,15 @@ underlines = ["", "", ""]
1058

1159
[tool.check-manifest]
1260
ignore = [
13-
".bumpversion.cfg",
14-
".pep8speaks.yml",
1561
"CHANGES/**",
16-
"CONTRIBUTING.rst",
17-
"HISTORY.rst",
1862
"dev_requirements.txt",
1963
"doc_requirements.txt",
2064
"docs/**",
21-
"staging_docs/**",
2265
"template_config.yml",
23-
".travis/**",
24-
".travis.yml",
66+
".pep8speaks.yml",
2567
"shelf_reader-0.1-py2-none-any.whl",
26-
".github/**",
2768
".ci/**",
69+
".github/**",
2870
"lint_requirements.txt",
2971
".flake8",
3072
]
@@ -58,4 +100,4 @@ search = "version = \"{current_version}\""
58100
replace = "version = \"{new_version}\""
59101

60102
[[tool.bumpversion.files]]
61-
filename = "./setup.py"
103+
filename = "./setup.py"

requirements.txt

-4
This file was deleted.

setup.py

-38
This file was deleted.

0 commit comments

Comments
 (0)