Skip to content

Commit

Permalink
cleaner workflow (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxochicale committed Aug 16, 2023
1 parent 859cf00 commit ac52a2a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 22 deletions.
5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,8 @@ How to use

::

conda create -n ssptVE python=3.8 pip -c conda-forge
conda mamba create -n ssptVE python=3.8 pip cookiecutter -c conda-forge
conda activate ssptVE
pip install -r requirements-dev.txt

2. Run Cookiecutter with the URL of this template.
Alternatively, you can run it in the same path of this repository if you are developing a new feature for this template.
Expand All @@ -125,6 +124,7 @@ See "List of parameters for cookiecutter" below.

cd MyNewProject
git init
pip install -r requirements-dev.txt
git add .
git commit -m "Initial commit of My New Project"

Expand Down Expand Up @@ -225,6 +225,7 @@ For developers

cookiecutter .
cd MyNewProject
pip install -r requirements-dev.txt
tox
tox -e lint
tox -e docs
Expand Down
13 changes: 0 additions & 13 deletions requirements-dev.txt

This file was deleted.

2 changes: 0 additions & 2 deletions requirements.txt

This file was deleted.

9 changes: 7 additions & 2 deletions {{cookiecutter.project_slug}}/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ mock
pyfakefs
parameterized
pylint
pyinstaller
pytest
pyinstaller
tox
pip
tox-conda
build
six
docutils
sphinx
sphinx_rtd_theme
4 changes: 1 addition & 3 deletions {{cookiecutter.project_slug}}/tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py38,lint,docs
skipsdist = True
requires = setuptools >= 47.1
requires = tox-conda

[testenv]
deps=-rrequirements-dev.txt
; whitelist_externals=coverage,pip
; commands_pre=ipython kernel install --user --name={{ cookiecutter.pkg_name }}
# See .coveragerc for list of omitted files
commands = coverage erase
Expand Down

0 comments on commit ac52a2a

Please sign in to comment.