Skip to content

Instantly share code, notes, and snippets.

@darrylsepeda
Last active October 22, 2017 08:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darrylsepeda/32462ab8affd12f20005865ea1d343c7 to your computer and use it in GitHub Desktop.
Save darrylsepeda/32462ab8affd12f20005865ea1d343c7 to your computer and use it in GitHub Desktop.

GENERATE GPG KEY

gpg —-gen-key
gpg —-list-secret-keys —keyid-format LONG
gpg —-armor —-export [key]

SUBMIT .PY TO PYPI

touch setup.py

from setuptools import setup
setup(
    name='my-awesome-helloworld-script',    # This is the name of your PyPI-package.
    version='0.1',                          # Update the version number for new releases
    scripts=['helloworld']                  # The name of your scipt, and also the command you'll be using for calling it
)

python setup.py register sdist upload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment