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

Make the package friendlier as a dependency #47

Merged
merged 2 commits into from
May 16, 2024
Merged

Conversation

matejcik
Copy link
Contributor

This PR makes the whole click dependency tree optional, and moves dependencies of generate_vectors.py into dev section.

That way, the package has zero dependencies if you are on Python 3.7 and up (we still keep py3.6 compatibility because it doesn't cost anything, but dataclasses needs to be installed from pypi for that case), making it better suited as a dependency of other projects.

dataclasses is builtin since Python 3.7, so there is an optional
dependency for Python 3.6 compatibility
@matejcik matejcik merged commit 08bbb74 into master May 16, 2024
10 checks passed
@matejcik matejcik deleted the matejcik/nicer-deps branch May 16, 2024 10:07
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.

1 participant