projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use juju version 2.9.29
[osm/devops.git]
/
descriptor-packages
/
tools
/
charm-generator
/
setup.py
diff --git
a/descriptor-packages/tools/charm-generator/setup.py
b/descriptor-packages/tools/charm-generator/setup.py
index
5015efa
..
51df44c
100644
(file)
--- a/
descriptor-packages/tools/charm-generator/setup.py
+++ b/
descriptor-packages/tools/charm-generator/setup.py
@@
-19,6
+19,8
@@
import re
import setuptools
import re
import setuptools
+print(setuptools.find_packages())
+
version = re.search(
r'^__version__\s*=\s*["\'](.*)["\']',
open('generator/generator.py').read(),
version = re.search(
r'^__version__\s*=\s*["\'](.*)["\']',
open('generator/generator.py').read(),
@@
-43,6
+45,12
@@
setuptools.setup(
install_requires=[
'Jinja2>=2.10'
],
install_requires=[
'Jinja2>=2.10'
],
+ package_data={
+ 'generator.actions': ['templates/*.j2'],
+ 'generator.ansible-charm': ['templates/*.j2'],
+ 'generator.metadata': ['templates/*.j2'],
+ },
+ include_package_data=True,
classifiers=[
'Programming Language :: Python :: 3 :: Only',
'License :: OSI Approved :: Apache Software License',
classifiers=[
'Programming Language :: Python :: 3 :: Only',
'License :: OSI Approved :: Apache Software License',