Skip to content

Releases: becky2sawyer/cookiecutter-pypackage-mkdocss

dokdo

23 Jul 17:13
Compare
Choose a tag to compare

템플릿 생성

cookiecutter https://github.com/becky2sawyer/cookiecutter-pypackage-mkdocss.git --checkout 1.0.0

테스트

sh test.sh

image

빌드

sh build.sh
Collecting pip>=19.1.0
  Using cached https://files.pythonhosted.org/packages/47/ca/f0d790b6e18b3a6f3bd5e80c2ee4edbb5807286c21cdd0862ca933f751dd/pip-21.1.3-py3-none-any.whl
Installing collected packages: pip
  Found existing installation: pip 18.1
    Uninstalling pip-18.1:
      Successfully uninstalled pip-18.1
Successfully installed pip-21.1.3
Found existing installation: setuptools 40.6.2
Uninstalling setuptools-40.6.2:
  Successfully uninstalled setuptools-40.6.2
Collecting setuptools>=42
  Using cached setuptools-57.4.0-py3-none-any.whl (819 kB)
Collecting wheel
  Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel, setuptools
Successfully installed setuptools-57.4.0 wheel-0.36.2
running egg_info
writing src/marsrover.egg-info/PKG-INFO
writing dependency_links to src/marsrover.egg-info/dependency_links.txt
writing entry points to src/marsrover.egg-info/entry_points.txt
writing top-level names to src/marsrover.egg-info/top_level.txt
reading manifest file 'src/marsrover.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/marsrover.egg-info/SOURCES.txt'
running sdist
running egg_info
writing src/marsrover.egg-info/PKG-INFO
writing dependency_links to src/marsrover.egg-info/dependency_links.txt
writing entry points to src/marsrover.egg-info/entry_points.txt
writing top-level names to src/marsrover.egg-info/top_level.txt
reading manifest file 'src/marsrover.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/marsrover.egg-info/SOURCES.txt'
running check
creating marsrover-0.1.0
creating marsrover-0.1.0/src
creating marsrover-0.1.0/src/marsrover
creating marsrover-0.1.0/src/marsrover.egg-info
copying files to marsrover-0.1.0...
copying LICENSE -> marsrover-0.1.0
copying README.md -> marsrover-0.1.0
copying pyproject.toml -> marsrover-0.1.0
copying setup.cfg -> marsrover-0.1.0
copying src/marsrover/__init__.py -> marsrover-0.1.0/src/marsrover
copying src/marsrover/marsrover.py -> marsrover-0.1.0/src/marsrover
copying src/marsrover.egg-info/PKG-INFO -> marsrover-0.1.0/src/marsrover.egg-info
copying src/marsrover.egg-info/SOURCES.txt -> marsrover-0.1.0/src/marsrover.egg-info
copying src/marsrover.egg-info/dependency_links.txt -> marsrover-0.1.0/src/marsrover.egg-info
copying src/marsrover.egg-info/entry_points.txt -> marsrover-0.1.0/src/marsrover.egg-info
copying src/marsrover.egg-info/top_level.txt -> marsrover-0.1.0/src/marsrover.egg-info
Writing marsrover-0.1.0/setup.cfg
Creating tar archive
removing 'marsrover-0.1.0' (and everything under it)
Collecting pip>=19.1.0
  Using cached https://files.pythonhosted.org/packages/47/ca/f0d790b6e18b3a6f3bd5e80c2ee4edbb5807286c21cdd0862ca933f751dd/pip-21.1.3-py3-none-any.whl
Installing collected packages: pip
  Found existing installation: pip 18.1
    Uninstalling pip-18.1:
      Successfully uninstalled pip-18.1
Successfully installed pip-21.1.3
Found existing installation: setuptools 40.6.2
Uninstalling setuptools-40.6.2:
  Successfully uninstalled setuptools-40.6.2
Collecting setuptools>=42
  Using cached setuptools-57.4.0-py3-none-any.whl (819 kB)
Collecting wheel
  Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel, setuptools
Successfully installed setuptools-57.4.0 wheel-0.36.2
running egg_info
writing src/marsrover.egg-info/PKG-INFO
writing dependency_links to src/marsrover.egg-info/dependency_links.txt
writing entry points to src/marsrover.egg-info/entry_points.txt
writing top-level names to src/marsrover.egg-info/top_level.txt
reading manifest file 'src/marsrover.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/marsrover.egg-info/SOURCES.txt'
Requirement already satisfied: wheel in /private/var/folders/zh/ct_flp_x27bby23rvjzj7_q80000gn/T/build-env-qnmdr5ml/lib/python3.6/site-packages (from -r /var/folders/zh/ct_flp_x27bby23rvjzj7_q80000gn/T/build-reqs-x4r4g7cu.txt (line 1)) (0.36.2)
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/marsrover
copying src/marsrover/__init__.py -> build/lib/marsrover
copying src/marsrover/marsrover.py -> build/lib/marsrover
warning: build_py: byte-compiling is disabled, skipping.

installing to build/bdist.macosx-10.14-x86_64/wheel
running install
running install_lib
creating build/bdist.macosx-10.14-x86_64
creating build/bdist.macosx-10.14-x86_64/wheel
creating build/bdist.macosx-10.14-x86_64/wheel/marsrover
copying build/lib/marsrover/__init__.py -> build/bdist.macosx-10.14-x86_64/wheel/marsrover
copying build/lib/marsrover/marsrover.py -> build/bdist.macosx-10.14-x86_64/wheel/marsrover
warning: install_lib: byte-compiling is disabled, skipping.

running install_egg_info
running egg_info
writing src/marsrover.egg-info/PKG-INFO
writing dependency_links to src/marsrover.egg-info/dependency_links.txt
writing entry points to src/marsrover.egg-info/entry_points.txt
writing top-level names to src/marsrover.egg-info/top_level.txt
reading manifest file 'src/marsrover.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/marsrover.egg-info/SOURCES.txt'
Copying src/marsrover.egg-info to build/bdist.macosx-10.14-x86_64/wheel/marsrover-0.1.0-py3.6.egg-info
running install_scripts
adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
creating build/bdist.macosx-10.14-x86_64/wheel/marsrover-0.1.0.dist-info/WHEEL
creating '/Users/diginori/myhub/mars-rover/dist/tmp3e3utu4u/marsrover-0.1.0-py3-none-any.whl' and adding 'build/bdist.macosx-10.14-x86_64/wheel' to it
adding 'marsrover/__init__.py'
adding 'marsrover/marsrover.py'
adding 'marsrover-0.1.0.dist-info/LICENSE'
adding 'marsrover-0.1.0.dist-info/METADATA'
adding 'marsrover-0.1.0.dist-info/WHEEL'
adding 'marsrover-0.1.0.dist-info/entry_points.txt'
adding 'marsrover-0.1.0.dist-info/top_level.txt'
adding 'marsrover-0.1.0.dist-info/RECORD'
removing build/bdist.macosx-10.14-x86_64/wheel

사용자 가이드 자동 생성

sh deploy_gitpage.sh
INFO     -  MERMAID2  - Initialization arguments: {}
INFO     -  MERMAID2  - Explicit mermaid javascript library:
               https://unpkg.com/[email protected]/dist/mermaid.min.js
INFO     -  Cleaning site directory
INFO     -  Building documentation to directory: /Users/diginori/myhub/mars-rover/site
INFO     -  MERMAID2  - Found superfences config: {'custom_fences': [{'name': 'mermaid', 'class': 'mermaid', 'format': <function fence_mermaid at
            0x10b380a60>}]}
INFO     -  Documentation built in 0.87 seconds
INFO     -  Copying '/Users/diginori/myhub/mars-rover/site' to 'gh-pages' branch and pushing to GitHub.
Enumerating objects: 63, done.
Counting objects: 100% (63/63), done.
Delta compression using up to 8 threads
Compressing objects: 100% (58/58), done.
Writing objects: 100% (63/63), 464.81 KiB | 3.81 MiB/s, done.
Total 63 (delta 10), reused 0 (delta 0)
remote: Resolving deltas: 100% (10/10), done.
remote:
remote: Create a pull request for 'gh-pages' on GitHub by visiting:
remote:      https://github.com/becky2sawyer/mars-rover/pull/new/gh-pages
remote:
To https://github.com/becky2sawyer/mars-rover.git
 * [new branch]      gh-pages -> gh-pages
INFO     -  Your documentation should shortly be available at: https://becky2sawyer.github.io/mars-rover/

image

pip 배포

$ sh deploy_pip.sh
Uploading distributions to https://upload.pypi.org/legacy/
Enter your username: pysatellite
Enter your password:
Uploading marsrover-0.1.0-py3-none-any.whl
100%|████████████████████████████████████████████████████████████████████| 20.5k/20.5k [00:01<00:00, 12.2kB/s]
Uploading marsrover-1.0.0-py3-none-any.whl
100%|████████████████████████████████████████████████████████████████████| 19.0k/19.0k [00:01<00:00, 12.7kB/s]
Uploading marsrover-1.1.1-py3-none-any.whl
100%|████████████████████████████████████████████████████████████████████| 19.0k/19.0k [00:01<00:00, 12.7kB/s]
Uploading marsrover-0.1.0.tar.gz
100%|████████████████████████████████████████████████████████████████████| 20.9k/20.9k [00:00<00:00, 42.0kB/s]
Uploading marsrover-1.0.0.tar.gz
100%|████████████████████████████████████████████████████████████████████| 18.9k/18.9k [00:01<00:00, 19.0kB/s]
Uploading marsrover-1.1.1.tar.gz
100%|████████████████████████████████████████████████████████████████████| 18.9k/18.9k [00:01<00:00, 12.1kB/s]

View at:
https://pypi.org/project/marsrover/1.1.1/
https://pypi.org/project/marsrover/1.0.0/
https://pypi.org/project/marsrover/0.1.0/

mars-rover

23 Jul 15:13
Compare
Choose a tag to compare
1.0.0

living for today