Skip to content
This repository has been archived by the owner on Jan 8, 2023. It is now read-only.

Commit

Permalink
Remove setup.py (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Jul 18, 2022
1 parent 0edb4ec commit ab9aa9c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 52 deletions.
25 changes: 15 additions & 10 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[aliases]
dists = clean --all sdist bdist_wheel

[metadata]
name = molecule-podman
url = https://github.com/ansible-community/molecule-podman
Expand All @@ -20,7 +17,7 @@ author_email = [email protected]
maintainer = Ansible by Red Hat
maintainer_email = [email protected]
license = MIT
license_file = LICENSE
license_files = LICENSE
classifiers =
Development Status :: 5 - Production/Stable

Expand All @@ -44,6 +41,9 @@ classifiers =

Topic :: System :: Systems Administration
Topic :: Utilities

Typing :: Typed

keywords =
ansible
podman
Expand All @@ -56,14 +56,11 @@ python_requires = >=3.8
package_dir =
= src
packages = find:
include_package_data = True
# Do not use include_package_data as we mention them explicitely.
# see https://setuptools.pypa.io/en/latest/userguide/datafiles.html
# include_package_data = True
zip_safe = False

# These are required during `setup.py` run:
setup_requires =
setuptools_scm >= 1.15.0
setuptools_scm_git_archive >= 1.0

# These are required in actual runtime:
install_requires =
ansible-compat >= 2.2.0
Expand All @@ -85,6 +82,14 @@ docs =
molecule.driver =
podman = molecule_podman.driver:Podman

[options.package_data]
* =
*.j2
*.json
*.yaml
*.yml
py.typed

[options.packages.find]
where = src

Expand Down
37 changes: 0 additions & 37 deletions setup.py

This file was deleted.

Empty file added src/molecule_podman/py.typed
Empty file.
8 changes: 3 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -119,18 +119,16 @@ usedevelop = false
skip_install = true
deps =
collective.checkdocs >= 0.2
pep517 >= 0.8.2
build >= 0.7.0
pip >= 20.2.2
toml >= 0.10.1
twine >= 3.2.0 # pyup: ignore
setenv =
commands_pre =
commands =
rm -rfv {toxinidir}/dist/
python -m pep517.build \
--source \
--binary \
--out-dir {toxinidir}/dist/ \
python -m build \
--outdir {toxinidir}/dist/ \
{toxinidir}
# metadata validation
sh -c "python -m twine check {toxinidir}/dist/*"

0 comments on commit ab9aa9c

Please sign in to comment.