Skip to content

Modernize Python package infrastructure #84

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

Merged
merged 7 commits into from
Apr 11, 2023
Merged

Modernize Python package infrastructure #84

merged 7 commits into from
Apr 11, 2023

Conversation

mattt
Copy link
Contributor

@mattt mattt commented Apr 7, 2023

Depends on #83

This PR adopts current best practices for Python libraries by replacing setup.py with pyproject.toml, writing resolved dependencies to requirements.txt files using pip-compile.

Copy link
Member

@zeke zeke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm no authority on Python best practices, but this looks good to me. 👍🏼

mattt added 7 commits April 11, 2023 15:23
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Set __version__ dynamically

Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
@mattt mattt force-pushed the mattt/pyproject branch from 78b79e2 to 6d0d0cf Compare April 11, 2023 22:23
@mattt mattt merged commit 6094f5a into main Apr 11, 2023
@mattt mattt deleted the mattt/pyproject branch April 11, 2023 22:24
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.

2 participants