-
Notifications
You must be signed in to change notification settings - Fork 10
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
Setup.py to pyproject.toml #166
base: main
Are you sure you want to change the base?
Conversation
- Changed setup of CAPICE from setup.py to pyproject.toml, including configuration for different tools
Need a better way to patch the CAPICE version now
# Conflicts: # setup.py # src/molgenis/capice/__init__.py
- Updated the capice project to use pyproject.toml instead of setup.py which will become deprecated.
…al "extra", specific to CI.
Kudos, SonarCloud Quality Gate passed! |
"Molgenis <[email protected]>" | ||
] | ||
readme = "README.md" | ||
license = "LICENSE" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.poetry] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[build-system] | ||
requires = [ | ||
"wheel", | ||
"poetry-core" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if new releases pushed to Pypi through Travis works well with Poetry by default with the deploy
step. We gotta make sure we don't break this (f.e. due to a manifest file not being interpreted in case of capice-resources repo).
…roject_toml # Conflicts: # pyproject.toml
SOP
Changed
Important notes
include
, which is something that setuptools can not function with yet. This means that non-python project files will not be included in the final build (either wheel or sdist).src
) are included in a wheel / sdist after building.Before merge:
After merge: