You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Not directly, but I am filing this issue after a short chat on the Boston Python Slack about how to update one of the project's dependencies.
Describe the solution you'd like
To satisfy this request, scalene should support build systems that follow PEP 517, which mostly comes down to following PEP 518 by introducing a pyproject.toml file to the project's source tree.
The biggest advantage of this approach is that build-time dependencies (namely Cython and possibly crdp as well) can be declared as such in the modern style, so end-user installation should be slightly smoother.
Describe alternatives you've considered
N/A
Additional context
I sat down for an hour or so tonight and saw how much of the project's setup.py could be migrated to a pyproject.toml. The biggest snag I ran into was the DEV_BUILD functionality that appends a .devN suffix to builds. And of course all the dynamic stuff related to available compilers and extension modules still needs to be expressed in setup.py
The upshot here is that it's pretty easy to start small with a pyproject.toml, it is not a wholesale replacement for setup.py (or its declarative counterpart setup.cfg), as described in the setuptools documentation.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Not directly, but I am filing this issue after a short chat on the Boston Python Slack about how to update one of the project's dependencies.
Describe the solution you'd like
To satisfy this request,
scalene
should support build systems that follow PEP 517, which mostly comes down to following PEP 518 by introducing apyproject.toml
file to the project's source tree.The biggest advantage of this approach is that build-time dependencies (namely
Cython
and possiblycrdp
as well) can be declared as such in the modern style, so end-user installation should be slightly smoother.Describe alternatives you've considered
N/A
Additional context
I sat down for an hour or so tonight and saw how much of the project's
setup.py
could be migrated to apyproject.toml
. The biggest snag I ran into was theDEV_BUILD
functionality that appends a.devN
suffix to builds. And of course all the dynamic stuff related to available compilers and extension modules still needs to be expressed insetup.py
The upshot here is that it's pretty easy to start small with a
pyproject.toml
, it is not a wholesale replacement forsetup.py
(or its declarative counterpartsetup.cfg
), as described in the setuptools documentation.The text was updated successfully, but these errors were encountered: