Remove .git from built package
Clean-up some of the files that get added with setup.py is run. This is some prep work for when it makes it to PyPi. Change-Id: I70c7d284ac0f3ec03d02a945f7162e063b023688
This commit is contained in:
parent
3c86e57d16
commit
d83205fcf0
@ -1,2 +1,3 @@
|
|||||||
include *.txt *.ini *.cfg *.rst
|
include *.txt *.ini *.cfg *.rst
|
||||||
|
exclude .git .gitignore
|
||||||
recursive-include charm *.ico *.png *.css *.gif *.jpg *.txt
|
recursive-include charm *.ico *.png *.css *.gif *.jpg *.txt
|
||||||
|
1
setup.py
1
setup.py
@ -69,6 +69,7 @@ setup(
|
|||||||
author_email='alex.kavanagh@canonical.com',
|
author_email='alex.kavanagh@canonical.com',
|
||||||
license='Apache-2.0: http://www.apache.org/licenses/LICENSE-2.0',
|
license='Apache-2.0: http://www.apache.org/licenses/LICENSE-2.0',
|
||||||
packages=find_packages(exclude=["unit_tests"]),
|
packages=find_packages(exclude=["unit_tests"]),
|
||||||
|
exclude_package_data={'': ['.gitignore', '.git']},
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
cmdclass={'test': Tox},
|
cmdclass={'test': Tox},
|
||||||
install_requires=install_require,
|
install_requires=install_require,
|
||||||
|
Loading…
Reference in New Issue
Block a user