Skip to main content

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!

Table of contents

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.

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

subvenv-1.2.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

subvenv-1.2.0-py2.py3-none-any.whl (7.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file subvenv-1.2.0.tar.gz.

File metadata

  • Download URL: subvenv-1.2.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for subvenv-1.2.0.tar.gz
Algorithm Hash digest
SHA256 bffd54fc5b319e9ae1b85fba7ac2387358d9498b4e04ca1eed91cd3befe0226c
MD5 409327eb8dac27051b733fd310dd88df
BLAKE2b-256 445b6d25f0ed936af5a9793d64c02086849be6e17784b199675add8c603b9577

See more details on using hashes here.

File details

Details for the file subvenv-1.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for subvenv-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 54ee7c2afc7e8c371a6cb49bfbcb5fcfc25ca09cd55acc2b94d154cc5e5ff983
MD5 99f5d02f7604ed09b95a30fe7d3688d6
BLAKE2b-256 435571d213a9f02cfea92265e520d65f6c644d62a9b64222bdc73d69e08c5402

See more details on using hashes here.

Supported by

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