Skip to content

Instantly share code, notes, and snippets.

@dperezrada
Created December 31, 2011 22:48
Show Gist options
  • Save dperezrada/1545566 to your computer and use it in GitHub Desktop.
Save dperezrada/1545566 to your computer and use it in GitHub Desktop.
# Install PasteScript
pip install PasteScript
# Create a new project
paster create myproject
# (You should input the requested information, you can press enter to skip)
# Go to the new project
cd myproject
# Install project
## You have 2 way to activate your project for your enviroment:
### Develop: This method will create a symbolic link to your project and every change will be reflected in your enviroment
python setup.py develop
### Install: This method will install in your enviroment, the current version of your project and any new change to the code won't be reflected on your enviroment (until next time you install it).
python setup.py develop
# Now you will be able to import your new project
python -c "import myproject"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment