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
A feature I'd really like to see implemented is the ability to expand environment variables in the pyproject.toml file. My use-case is as follows: I am working on a library to simplify my work on other projects. In the future, I'd like to publish the library to PyPi. When I work on my projects, however, I want to use my library as a local editable dependency so I can quickly make changes and see them applied. So I have an example project with the following pyproject.toml:
The problem is I am using an absolute path for my library, so I need to modify it if I work on multiple computers, and it's not something I'd want to push to GitHub. A better solution would be to have an environment variable that defines the location of the library on my local machine: MY_LIB_PATH="/path/to/my/library/my-lib". That way, I can define the environment variable as necessary on different machines and my pyproject.toml file will simply use this variable:
This isn't possible at the moment, and I think expanding environment variables in the pyproject.toml file could solve my use case and other similar use cases.
The text was updated successfully, but these errors were encountered:
A feature I'd really like to see implemented is the ability to expand environment variables in the
pyproject.toml
file. My use-case is as follows: I am working on a library to simplify my work on other projects. In the future, I'd like to publish the library to PyPi. When I work on my projects, however, I want to use my library as a local editable dependency so I can quickly make changes and see them applied. So I have an example project with the followingpyproject.toml
:The problem is I am using an absolute path for my library, so I need to modify it if I work on multiple computers, and it's not something I'd want to push to GitHub. A better solution would be to have an environment variable that defines the location of the library on my local machine:
MY_LIB_PATH="/path/to/my/library/my-lib"
. That way, I can define the environment variable as necessary on different machines and mypyproject.toml
file will simply use this variable:This isn't possible at the moment, and I think expanding environment variables in the
pyproject.toml
file could solve my use case and other similar use cases.The text was updated successfully, but these errors were encountered: