Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

A tool for creating virtualenv-friendly Sublime Text project files

Project Description

Subvenv makes the creation of virtualenv-friendly Sublime Text 2/3 project files as easy as subvenv make_project (or even skipping it by integrating it with Virtualenwrapper!).

Create your virtualenv, run subvenv, and you’re ready to code.

Bonus point: besides saving you the time of manually creating a project files, it also makes linting plugins like Anaconda and SublimePythonIDE work out of the box!

Installation

You can install the latest stable release via pip:

$ pip install subvenv

If you prefer the development version instead, you can install it from source:

$ git clone https://github.com/Railslide/subvenv.git
$ python setup.py install

Virtualenvwrapper projects integration

Using Virtualenvwrapper projects removes the need of manually running Subvenv. Project creation will activate Subvenv behind the scenes and a Sublime project file will be automagically created inside the project folder.

Simply create a new virtualenv with

$ mkproject <project_name>

and a <project_name>.sublime-project file will be placed in your /your/project/home/<project_name>/. Open it with Sublime Text and you are ready to go.

Usage as a standalone

If you don’t want to pass through a Virtualenwrapper project

$ subvenv make_project

will create a <virtualenv_name>.sublime-project file in the current working directory.

You can also specify a location different than the current folder by using the --folder flag

$ subvenv make_project --folder=path/to/target_folder

Supported Python versions

Subvenv is tested under Python 2.7, 3.3, 3.4, 3.5, 3.6.

Supported virtualenv managers

Subvenv supports Virtualenv, Virtualenwrapper, and pyvenv.

Any other virtualenv manager making use of the VIRTUALENV environment variable should probably work too.

Contributions

Are highly appreciated :)

Just follow PEP8 if you’re going to submit code.

License

MIT license. See LICENSE file for more information.

Release History

Release History

This version
History Node

1.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
subvenv-1.1.0-py2.py3-none-any.whl (7.2 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Mar 11, 2017
subvenv-1.1.0.tar.gz (5.2 kB) Copy SHA256 Checksum SHA256 Source Mar 11, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting