Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve python distribution metadata #104

Merged
merged 2 commits into from
Apr 29, 2024
Merged

Conversation

cutwater
Copy link
Contributor

  1. Replace imperative and redundant setup.py with a modern and recommended declarative approach pyproject.toml.
  2. Unified linting tools configuration and store it in pyproject.toml aling with the distribution metadata.
  3. Fix project dependencies. In the old setup.py there was a typo in extra_requires= setup parameter, which leaded to optional dependencies not being included into the distribution metadata.

1. Replace imperative and redundant `setup.py` with a modern
   and recommended declarative approach `pyproject.toml`.
2. Unified linting tools configuration and store it in `pyproject.toml`
   aling with the distribution metadata.
3. Fix project dependencies. In the old `setup.py` there was a typo in
   `extra_requires=` setup parameter, which leaded to optional
   dependencies not being included into the distribution metadata.
@cutwater cutwater requested review from himdel and chr-stian April 22, 2024 14:39
@himdel
Copy link
Collaborator

himdel commented Apr 22, 2024

Looks good to me, but deferring to @chr-stian .. not sure how this affects the galaxykit build & release process.

Co-authored-by: Martin Hradil <mhradil@redhat.com>
@chr-stian chr-stian merged commit fdf5b2d into ansible:main Apr 29, 2024
2 checks passed
@himdel
Copy link
Collaborator

himdel commented May 3, 2024

Info: The changes here require pip 23+.

If anyone sees pip install successfully failing to install galaxykit (it seems to install UNKNOWN instead) with galaxykit: command not found when trying to run it, you need newer pip :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants