Julian-Nash / cwe

Common weakness enumeration library for Python
MIT License
14 stars 3 forks source link

Include missing files in sdist #2

Closed thatch closed 4 years ago

thatch commented 4 years ago

Include missing files in sdist for #1

Tested with

++ mktemp -d
+ D=/tmp/tmp.CoVs8us3sX
+ trap 'rm -rf /tmp/tmp.CoVs8us3sX' EXIT
+ python -m venv /tmp/tmp.CoVs8us3sX
+ python setup.py sdist -d /tmp/tmp.CoVs8us3sX
running sdist
running egg_info
writing cwe.egg-info/PKG-INFO
writing dependency_links to cwe.egg-info/dependency_links.txt
writing top-level names to cwe.egg-info/top_level.txt
reading manifest file 'cwe.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'cwe.egg-info/SOURCES.txt'
running check
creating cwe-0.1
creating cwe-0.1/cwe
creating cwe-0.1/cwe.egg-info
creating cwe-0.1/tests
copying files to cwe-0.1...
copying LICENSE.txt -> cwe-0.1
copying MANIFEST.in -> cwe-0.1
copying README.md -> cwe-0.1
copying requirements.txt -> cwe-0.1
copying setup.cfg -> cwe-0.1
copying setup.py -> cwe-0.1
copying cwe/__init__.py -> cwe-0.1/cwe
copying cwe/categories.py -> cwe-0.1/cwe
copying cwe/database.py -> cwe-0.1/cwe
copying cwe/weakness.py -> cwe-0.1/cwe
copying cwe.egg-info/PKG-INFO -> cwe-0.1/cwe.egg-info
copying cwe.egg-info/SOURCES.txt -> cwe-0.1/cwe.egg-info
copying cwe.egg-info/dependency_links.txt -> cwe-0.1/cwe.egg-info
copying cwe.egg-info/top_level.txt -> cwe-0.1/cwe.egg-info
copying tests/__init__.py -> cwe-0.1/tests
copying tests/test_cwe.py -> cwe-0.1/tests
Writing cwe-0.1/setup.cfg
Creating tar archive
removing 'cwe-0.1' (and everything under it)
+ cd /
+ /tmp/tmp.CoVs8us3sX/bin/pip install /tmp/tmp.CoVs8us3sX/cwe-0.1.tar.gz
Processing /tmp/tmp.CoVs8us3sX/cwe-0.1.tar.gz
Installing collected packages: cwe
  Running setup.py install for cwe: started
    Running setup.py install for cwe: finished with status 'done'
Successfully installed cwe-0.1
WARNING: You are using pip version 19.2.3, however version 20.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
+ echo Success
Success
++ rm -rf /tmp/tmp.CoVs8us3sX
Julian-Nash commented 4 years ago

Thanks @thatch 😃