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 hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page