Skip to content

Commit

Permalink
Remove setup.py in favour of pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-psb committed Nov 27, 2024
1 parent 810dcbe commit 31c5837
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 115 deletions.
15 changes: 15 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Contributing

We have provided detailed documentation for ways in which you can
contribute to Pulp here:
https://pulpproject.org/dev/

This documentation includes:

* Suggestions of how to contribute
* How we track bugs
* Ways to get in touch with other contributors who can advise you
* A contribution checklist
* A developer guide

Join us! We look forward to hearing from you.
35 changes: 0 additions & 35 deletions CONTRIBUTING.rst

This file was deleted.

35 changes: 0 additions & 35 deletions HISTORY.rst

This file was deleted.

2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
include LICENSE
include pulp_container/app/webserver_snippets/*
include requirements.txt
include pyproject.toml
include CHANGES.md
include COMMITMENT
include COPYRIGHT
include functest_requirements.txt
include test_requirements.txt
include unittest_requirements.txt
exclude CONTRIBUTING.md
exclude releasing.md
44 changes: 38 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,43 @@ requires = [
]
build-backend = 'setuptools.build_meta'

[project]
name = "pulp-container"
version = "2.23.0.dev"
description = "Container plugin for the Pulp Project"
readme = "README.md"
authors = [
{name="Pulp Team", email="[email protected]"},
]
classifiers=[
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Operating System :: POSIX :: Linux",
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
]
requires-python = ">=3.9"
dependencies = [
"jsonschema>=4.4,<4.24",
"pulpcore>=3.49.0,<3.70",
"pyjwt[crypto]>=2.4,<2.11",
]

[project.urls]
Homepage = "https://pulpproject.org"
Documentation = "https://pulpproject.org/pulp_container/"
Repository = "https://github.com/pulp/pulp_container"
"Bug Tracker" = "https://github.com/pulp/pulp_container/issues"
Changelog = "https://pulpproject.org/pulp_container/changes/"

[project.entry-points."pulpcore.plugin"]
pulp_container = "pulp_container:default_app_config"

[tool.setuptools.packages.find]
where = ["."]

[tool.towncrier]
package = "pulp_container"
filename = "CHANGES.md"
Expand Down Expand Up @@ -33,18 +70,13 @@ exclude = '''

[tool.check-manifest]
ignore = [
".bumpversion.cfg",
".gitleaks.toml",
"CHANGES/**",
"CONTRIBUTING.rst",
"HISTORY.rst",
"dev_requirements.txt",
"doc_requirements.txt",
"docs/**",
"staging_docs/**",
"template_config.yml",
".travis/**",
".travis.yml",
".pep8speaks.yml",
".ci/**",
".github/**",
Expand Down Expand Up @@ -81,4 +113,4 @@ search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""

[[tool.bumpversion.files]]
filename = "./setup.py"
filename = "./setup.py"
3 changes: 0 additions & 3 deletions requirements.txt

This file was deleted.

35 changes: 0 additions & 35 deletions setup.py

This file was deleted.

0 comments on commit 31c5837

Please sign in to comment.