Skip to content

Instantly share code, notes, and snippets.

@andykuszyk
Last active August 16, 2017 08:40
Show Gist options
  • Select an option

  • Save andykuszyk/c328e9a42cd2775e0315f088e1907a34 to your computer and use it in GitHub Desktop.

Select an option

Save andykuszyk/c328e9a42cd2775e0315f088e1907a34 to your computer and use it in GitHub Desktop.

Revisions

  1. andykuszyk renamed this gist Aug 16, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. andykuszyk renamed this gist Aug 16, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Instructions.md → PIP release.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    * Put setup files in root of repo
    * Put `.pypirc` in home folder
    * Run `python setup.py sdist` in repo dir
    * Run `twine upload dist/*` in repo dir
  3. andykuszyk revised this gist Aug 16, 2017. 1 changed file with 1 addition and 8 deletions.
    9 changes: 1 addition & 8 deletions .pypirc
    Original file line number Diff line number Diff line change
    @@ -3,11 +3,4 @@ index-servers = pypi

    [pypi]
    username=
    password=







    password=
  4. andykuszyk created this gist Aug 16, 2017.
    13 changes: 13 additions & 0 deletions .pypirc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    [distutils]
    index-servers = pypi

    [pypi]
    username=
    password=







    3 changes: 3 additions & 0 deletions Instructions.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    * Put setup files in root of repo
    * Run `python setup.py sdist` in repo dir
    * Run `twine upload dist/*` in repo dir
    2 changes: 2 additions & 0 deletions setup.cfg
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    [metadata]
    description-file = README.md
    13 changes: 13 additions & 0 deletions setup.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    from distutils.core import setup
    setup(
    name = 'name',
    packages = ['name'],
    version = '0.0.1',
    description = 'desc',
    author = 'Andy Kuszyk',
    author_email = 'me@me.co.uk',
    url = 'https://github.com/andykuszyk/name',
    download_url = 'https://github.com/andykuszyk/name/archive/0.1.tar.gz',
    keywords = ['tag'],
    classifiers = [],
    )