diff --git a/confluent_client/MANIFEST.in b/confluent_client/MANIFEST.in new file mode 100644 index 00000000..2a8d2b80 --- /dev/null +++ b/confluent_client/MANIFEST.in @@ -0,0 +1 @@ +include confluent_env.sh \ No newline at end of file diff --git a/confluent_client/confluent_env.sh b/confluent_client/confluent_env.sh new file mode 100644 index 00000000..01eededd --- /dev/null +++ b/confluent_client/confluent_env.sh @@ -0,0 +1,2 @@ +PATH=/opt/confluent/bin:$PATH +export PATH diff --git a/confluent_client/setup.py.tmpl b/confluent_client/setup.py.tmpl index 0eb69827..59ba6142 100644 --- a/confluent_client/setup.py.tmpl +++ b/confluent_client/setup.py.tmpl @@ -8,4 +8,5 @@ setup( url='http://xcat.sf.net/', packages=['confluent'], scripts=['bin/confetty', 'bin/nodehealth', 'bin/nodeidentify', 'bin/nodepower', 'bin/nodesensors', 'bin/nodesetboot'], + data_files=[('/etc/profile.d', ['confluent_env.sh'])], )