You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
developer setup is a little different than regular notes, e.g. when developing the template, it's likely that you run cookiecutter on a local directory instead of on a URL.
cd $(mktemp -d --tmpdir python-template.XXXXXX)
git clone https://github.com/NLeSC/python-template.git
cookiecutter python-template
# answer the questions by pressing enter for default answers
cd my_python_project
python3 -m venv env
source env/bin/activate
pip install --upgrade pip
pip install --upgrade wheel
pip install --upgrade setuptools
# install dev deps
pip install .[dev]
# run tests for template and generated package
pytest
# should build a source distribution
python setup.py sdist
Activity
fdiblen commentedon Apr 28, 2021
done