You should modify the following files based on your project:
setup.py
MANIFEST.in
requirements.txt
: modules for install this projecttest-requirements.txt
: modules for develop this project
You can use pyenv
and virtualenv
. Mac OS X users can install these tools via Homebrew.
$ brew install pyenv-virtualenv
$ cd <project dir>
$ pyenv install 2.7.8
$ pyenv virtualenv 2.7.8 env_python2
$ pyenv local env_python2
Then you should install dependencies.
$ pip install -r test-requirements.txt
$ pyenv rehash
$ python setup.py develop
$ python setup.py nosetests
$ python setup.py develop -u
$ python setup.py clean -all
$ pip freeze > test-requirements.txt
$ python setup.py sdist
$ python setup.py install
$ pyenv rehash
$ pip uninstall cythontemplate
after install, you can use CLI command:
$ cythontemplate