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
|
||||
exclude .git .gitignore
|
||||
recursive-include charm *.ico *.png *.css *.gif *.jpg *.txt
|
||||
|
|
3
setup.py
3
setup.py
|
@ -69,8 +69,9 @@ setup(
|
|||
author_email='alex.kavanagh@canonical.com',
|
||||
license='Apache-2.0: http://www.apache.org/licenses/LICENSE-2.0',
|
||||
packages=find_packages(exclude=["unit_tests"]),
|
||||
exclude_package_data={'': ['.gitignore', '.git']},
|
||||
zip_safe=False,
|
||||
cmdclass = {'test': Tox},
|
||||
cmdclass={'test': Tox},
|
||||
install_requires=install_require,
|
||||
extras_require={
|
||||
'testing': tests_require,
|
||||
|
|
Loading…
Reference in New Issue