Skip to content

Instantly share code, notes, and snippets.

@jaraco
Created December 5, 2017 16:33
Show Gist options
  • Save jaraco/a75114aa82af6535e3fe1f538d2c3465 to your computer and use it in GitHub Desktop.
Save jaraco/a75114aa82af6535e3fe1f538d2c3465 to your computer and use it in GitHub Desktop.
$ cd issue-61
$ cat > setup.py
import distutils.core
distutils.core.setup(
name='foo',
version='1.0',
)
$ touch blah.py
$ python setup.py sdist
running sdist
running check
warning: check: missing required meta-data: url
warning: check: missing meta-data: either (author and author_email) or (maintainer and maintainer_email) must be supplied
warning: sdist: manifest template 'MANIFEST.in' does not exist (using default file list)
warning: sdist: standard file not found: should have one of README, README.txt
writing manifest file 'MANIFEST'
creating foo-1.0
making hard links in foo-1.0...
hard linking setup.py -> foo-1.0
creating dist
Creating tar archive
removing 'foo-1.0' (and everything under it)
$ tar xvfz dist/foo-1.0.tar.gz -C dist
x foo-1.0/
x foo-1.0/PKG-INFO
x foo-1.0/setup.py
$ cat > setup.py
import setuptools
setuptools.setup(name='foo', version='1.0')
$ python setup.py sdist
running sdist
running egg_info
creating foo.egg-info
writing foo.egg-info/PKG-INFO
writing dependency_links to foo.egg-info/dependency_links.txt
writing top-level names to foo.egg-info/top_level.txt
writing manifest file 'foo.egg-info/SOURCES.txt'
reading manifest file 'foo.egg-info/SOURCES.txt'
writing manifest file 'foo.egg-info/SOURCES.txt'
warning: sdist: standard file not found: should have one of README, README.rst, README.txt, README.md
running check
warning: check: missing required meta-data: url
warning: check: missing meta-data: either (author and author_email) or (maintainer and maintainer_email) must be supplied
creating foo-1.0
creating foo-1.0/foo.egg-info
copying files to foo-1.0...
copying setup.py -> foo-1.0
copying foo.egg-info/PKG-INFO -> foo-1.0/foo.egg-info
copying foo.egg-info/SOURCES.txt -> foo-1.0/foo.egg-info
copying foo.egg-info/dependency_links.txt -> foo-1.0/foo.egg-info
copying foo.egg-info/top_level.txt -> foo-1.0/foo.egg-info
Writing foo-1.0/setup.cfg
Creating tar archive
removing 'foo-1.0' (and everything under it)
$ tar xvfz dist/foo-1.0.tar.gz -C dist
x foo-1.0/
x foo-1.0/PKG-INFO
x foo-1.0/setup.py
x foo-1.0/foo.egg-info/
x foo-1.0/foo.egg-info/PKG-INFO
x foo-1.0/foo.egg-info/SOURCES.txt
x foo-1.0/foo.egg-info/top_level.txt
x foo-1.0/foo.egg-info/dependency_links.txt
x foo-1.0/setup.cfg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment