@@ -21,7 +21,7 @@ Almost all python packages are structure as following:
2121| | |-_static
2222| |-build
2323|-tests
24- |-mymodule
24+ |-ioos_pkg_skeleton
2525|-notebooks
2626|-README.md
2727|-LICENSE.txt
@@ -86,7 +86,7 @@ from setuptools import setup
8686
8787setup(
8888 use_scm_version = {
89- " write_to" : " mymodule /_version.py" ,
89+ " write_to" : " ioos_pkg_skeleton /_version.py" ,
9090 " write_to_template" : ' __version__ = "{version} "' ,
9191 " tag_regex" : r " ^ ( ?P<prefix> v) ? ( ?P<version> [^ \+ ]+ ) ( ?P<suffix> . * ) ? $ " ,
9292 }
@@ -112,7 +112,7 @@ The former will have the package metadata and tools configuration while the latt
112112
113113``` cfg
114114[metadata]
115- name = mymodule
115+ name = ioos_pkg_skeleton
116116description = My Awesome module
117117author = AUTHOR NAME
118118@@ -161,7 +161,7 @@ ignore =
161161max-line-length = 105
162162select = C,E,F,W,B,B950
163163ignore = E203, E501, W503
164- exclude = mymodule /_version.py
164+ exclude = ioos_pkg_skeleton /_version.py
165165```
166166
167167The metadata and options fields are almost the same information that used to go in the ` setup.py ` .
@@ -184,7 +184,7 @@ include *.txt
184184include LICENSE # Please consider the Windows users and use .txt
185185include README.md
186186
187- recursive-include mymodule *.py
187+ recursive-include ioos_pkg_skeleton *.py
188188```
189189
190190## Do we still need a ` requirements.txt ` file?
@@ -285,7 +285,7 @@ install:
285285script :
286286 - if [[ $TRAVIS_JOB_NAME == python-* ]]; then
287287 cp -r tests/ /tmp ;
288- pushd /tmp && pytest -n 2 -rxs --cov=mymodule tests && popd ;
288+ pushd /tmp && pytest -n 2 -rxs --cov=ioos_pkg_skeleton tests && popd ;
289289 fi
290290
291291 - if [[ $TRAVIS_JOB_NAME == 'tarball' ]]; then
@@ -373,7 +373,7 @@ repos:
373373 hooks:
374374 - id: isort
375375 additional_dependencies: [toml]
376- args: [--project=mymodule , --multi-line=3, --lines-after-imports=2, --lines-between-types=1, --trailing-comma, --force-grid-wrap=0, --use-parentheses, --line-width=88]
376+ args: [--project=ioos_pkg_skeleton , --multi-line=3, --lines-after-imports=2, --lines-between-types=1, --trailing-comma, --force-grid-wrap=0, --use-parentheses, --line-width=88]
377377
378378- repo: https://github.com/asottile/seed-isort-config
379379 rev: v2.1.1
@@ -410,7 +410,7 @@ pre-commit run --all-files
410410and ignoring it in a commit if you don't want it to run:
411411
412412```
413- git commit mymodule /some-dot-pwhy.py --no-verify
413+ git commit ioos_pkg_skeleton /some-dot-pwhy.py --no-verify
414414```
415415
416416## Github Actions
@@ -481,4 +481,6 @@ Please check out https://www.pyopensci.org/
481481## TODO
482482
483483- auto PyPI publication
484+ https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
485+
484486- conda-forge publication
0 commit comments