import distutils.core

# Uploading to PyPI
# =================
# $ python setup.py register -r pypi
# $ python setup.py sdist upload -r pypi

version = '1.0'
distutils.core.setup(
        name='nonstdlib',
        version=version,
        author='Kale Kundert',
        author='kale@thekunderts.net',
        url='https://github.com/kalekundert/nonstdlib',
        download_url='https://github.com/kalekundert/nonstdlib/tarball/'+version,
        license='MIT',
        description="A collection of general-purpose utilities.",
        long_description=open('README.rst').read(),
        keywords=['utilities', 'library'],
        packages=['nonstdlib'],
)

import distutils.core

# Uploading to PyPI
# =================
# The first time only:
# $ python setup.py register -r pypi
#
# Every version bump:
# $ git tag <version>; git push
# $ python setup.py sdist upload -r pypi

version = '1.0'
distutils.core.setup(
        name='nonstdlib',
        version=version,
        author='Kale Kundert',
        author='kale@thekunderts.net',
        url='https://github.com/kalekundert/nonstdlib',
        download_url='https://github.com/kalekundert/nonstdlib/tarball/'+version,
        license='MIT',
        description="A collection of general-purpose utilities.",
        long_description=open('README.rst').read(),
        keywords=['utilities', 'library'],
        packages=['nonstdlib'],
)

Add instructions for bumping the version.
Add instructions for bumping the version.

  import distutils.core
  
  # Uploading to PyPI
  # =================
+ # The first time only:
  # $ python setup.py register -r pypi
+ #
+ # Every version bump:
+ # $ git tag <version>; git push
  # $ python setup.py sdist upload -r pypi
  
  version = '1.0'
  distutils.core.setup(
          name='nonstdlib',
          version=version,
          author='Kale Kundert',
          author='kale@thekunderts.net',
          url='https://github.com/kalekundert/nonstdlib',
          download_url='https://github.com/kalekundert/nonstdlib/tarball/'+version,
          license='MIT',
          description="A collection of general-purpose utilities.",
          long_description=open('README.rst').read(),
          keywords=['utilities', 'library'],
          packages=['nonstdlib'],
  )
  
Add instructions for bumping the version.
## Code Before:
import distutils.core

# Uploading to PyPI
# =================
# $ python setup.py register -r pypi
# $ python setup.py sdist upload -r pypi

version = '1.0'
distutils.core.setup(
        name='nonstdlib',
        version=version,
        author='Kale Kundert',
        author='kale@thekunderts.net',
        url='https://github.com/kalekundert/nonstdlib',
        download_url='https://github.com/kalekundert/nonstdlib/tarball/'+version,
        license='MIT',
        description="A collection of general-purpose utilities.",
        long_description=open('README.rst').read(),
        keywords=['utilities', 'library'],
        packages=['nonstdlib'],
)

## Instruction:
Add instructions for bumping the version.
## Code After:
import distutils.core

# Uploading to PyPI
# =================
# The first time only:
# $ python setup.py register -r pypi
#
# Every version bump:
# $ git tag <version>; git push
# $ python setup.py sdist upload -r pypi

version = '1.0'
distutils.core.setup(
        name='nonstdlib',
        version=version,
        author='Kale Kundert',
        author='kale@thekunderts.net',
        url='https://github.com/kalekundert/nonstdlib',
        download_url='https://github.com/kalekundert/nonstdlib/tarball/'+version,
        license='MIT',
        description="A collection of general-purpose utilities.",
        long_description=open('README.rst').read(),
        keywords=['utilities', 'library'],
        packages=['nonstdlib'],
)
