sagemath / sage_sample

A sample project illustrating how to write and distribute SageMath extensions
GNU General Public License v2.0
17 stars 15 forks source link

sdist not working properly #22

Open videlec opened 7 years ago

videlec commented 7 years ago

Most of the files created by the sdist command should actually not be there

$ sage -python setup.py sdist
/opt/sage/local/lib/python2.7/site-packages/setuptools/dist.py:333: UserWarning: Normalizing '0.1.0
' to '0.1.0'
  normalized_version,
running sdist
running egg_info
writing sage_sample.egg-info/PKG-INFO
writing top-level names to sage_sample.egg-info/top_level.txt
writing dependency_links to sage_sample.egg-info/dependency_links.txt
writing manifest file 'sage_sample.egg-info/SOURCES.txt'
running check
creating sage_sample-0.1.0
creating sage_sample-0.1.0/docs
creating sage_sample-0.1.0/docs/source
creating sage_sample-0.1.0/sage_sample
creating sage_sample-0.1.0/sage_sample.egg-info
copying files to sage_sample-0.1.0...
copying .gitignore -> sage_sample-0.1.0
copying .travis-deploy-doc.sh -> sage_sample-0.1.0
copying .travis-install.sh -> sage_sample-0.1.0
copying .travis-test.sh -> sage_sample-0.1.0
copying .travis.yml -> sage_sample-0.1.0
copying .travis_ci_gh_pages_deploy_key.enc -> sage_sample-0.1.0
copying LICENSE -> sage_sample-0.1.0
copying README -> sage_sample-0.1.0
copying README.rst -> sage_sample-0.1.0
copying VERSION -> sage_sample-0.1.0
copying makefile -> sage_sample-0.1.0
copying setup.py -> sage_sample-0.1.0
copying docs/Makefile -> sage_sample-0.1.0/docs
copying docs/source/conf.py -> sage_sample-0.1.0/docs/source
copying docs/source/index.rst -> sage_sample-0.1.0/docs/source
copying docs/source/ultimate_question.rst -> sage_sample-0.1.0/docs/source
copying sage_sample/__init__.py -> sage_sample-0.1.0/sage_sample
copying sage_sample/ultimate_question.py -> sage_sample-0.1.0/sage_sample
copying sage_sample.egg-info/PKG-INFO -> sage_sample-0.1.0/sage_sample.egg-info
copying sage_sample.egg-info/SOURCES.txt -> sage_sample-0.1.0/sage_sample.egg-info
copying sage_sample.egg-info/dependency_links.txt -> sage_sample-0.1.0/sage_sample.egg-info
copying sage_sample.egg-info/top_level.txt -> sage_sample-0.1.0/sage_sample.egg-info
Writing sage_sample-0.1.0/setup.cfg
Creating tar archive
removing 'sage_sample-0.1.0' (and everything under it)

The issue can be fixed by dropping setuptools in favor of distutils.