Skip to main content

Manage virtualenvs with requirement files

Project description

mete0r.distutils.virtualenv

Provides virtualenv management commands in your project’s setup.py.

Setup

In your setup.py:

setup(
   name='FooPackage',
   ...
   setup_requires=[
      'mete0r.distutils.virtualenv',
   ],
   ...
)

Commands

Command

Description

virtualenv

Create a virtualenv environment.

virtualenv_bootstrap_script

Create a virtualenv bootstrap script. (Experimental)

pip_sync

Synchronize the environment packages with a requirement file.

pip_compile

Compile a requirement file.

For detailed usage:

python setup.py virtualenv --help
python setup.py virtualenv_bootstrap_script --help
python setup.py pip_sync --help
python setup.py pip_compile --help

Development environment

To setup development environment:

python setup.py virtualenv
make

License

Copyright (C) 2015-2016 mete0r <mete0r@sarangbang.or.kr>

https://www.gnu.org/graphics/lgplv3-147x51.png

GNU Lesser General Public License v3.0 (text version)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Changes

0.0.3 (2017-03-10)

  • Fix pip_sync command to use find_links and no_index options

0.0.2 (2016-11-09)

  • Remove (unused) message translations

0.0.1 (2016-11-08)

  • Change license to GNU LGPLv3+

  • setup.py: Development Status 3 - Alpha

  • Add basic docs.

  • Change virtualenv command options.

0.0.0 (2016-11-08)

  • Initial release.

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

mete0r.distutils.virtualenv-0.0.3.tar.gz (75.9 kB view details)

Uploaded Source

File details

Details for the file mete0r.distutils.virtualenv-0.0.3.tar.gz.

File metadata

File hashes

Hashes for mete0r.distutils.virtualenv-0.0.3.tar.gz
Algorithm Hash digest
SHA256 25147203f79904e40659394ac252168240d89fa60e1c4d0b52f168a7c485e4d0
MD5 cee4d7d45ef409c68fd2e12c516029ff
BLAKE2b-256 d3abfc41155c30e5d4a4b17824f6b27c88fd2185a6164e24f788c4d98354123a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page