Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.09 KB

README.md

File metadata and controls

52 lines (37 loc) · 1.09 KB

package-name

Install

pip install package-name

Usage

package-name

Scripts

Available pipenv run scripts :

  • install - installs the package
  • app - runs the application
  • test - tests the application with pytest
  • build - build the app artifacts
  • clean - clean the artifacts created with the build script
  • deploy-test - deploy to test.pypi
  • deploy - deploy to pypi

Requirements

In order to properly run the deploy scripts, you should :

  • have twine installed.
  • have a ~/.pypirc file filled according to the template below

.pypirc template

[distutils]
index-servers=
    pypi
    testpypi

[pypi]
username: your_username
password: your_password

[testpypi]
repository: https://test.pypi.org/legacy/
username: your_username
password: your_password

Note: pypi.org and test.pypi.org uses two distinct databases for user accounts. You need to create an account for both domains