A simple tool to set environment variables before running a command
Project description
pysetenv is a simple Python-based program to allow users to set environment variables before executing a command. While it’s cross-platform, it’s primarily designed to be used on Windows, where cmd.exe makes this considerably more difficult than on POSIX systems.
Why?
pysetenv is designed as a support package to help authors of other Python packages create command-line strings like you’d expect from sh or the env command. Generally, pysetenv will only be installed on Windows systems, with POSIX systems using sh or env. For example, in your setup.py, you would write:
setup(
# ...
install_requires=['pysetenv;platform_system=="Windows"'],
)
License
This project is licensed under the BSD 3-clause license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pysetenv-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a918c4e3568268417bc6fa24794253d79869896514ebc1ce7a489b7d0828569 |
|
MD5 | 5428907c6fc6f404e407f85ddbe4b404 |
|
BLAKE2b-256 | dda5d0ff781177769563ebf3937af00af729518b5598018fae4690a6b76ea539 |