summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-11-11 15:35:32 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-11-11 15:36:21 +0000
commit248910daf2da468c4c11b8edbf7cfdf0725918b2 (patch)
tree6b3385a2f214a62897690a9c6a39c3ed1099df95
parent430d092d70f887a48ffea69a8cf1f7d196e75a44 (diff)
downloadimport-248910daf2da468c4c11b8edbf7cfdf0725918b2.tar.gz
Fix some file locating and move data/ inside the baserockimport package
Now data/ actually gets installed too.
-rw-r--r--baserockimport/data/omnibus.yaml (renamed from data/omnibus.yaml)0
-rw-r--r--baserockimport/data/rubygems.yaml (renamed from data/rubygems.yaml)0
-rw-r--r--baserockimport/mainloop.py2
-rw-r--r--setup.py1
4 files changed, 2 insertions, 1 deletions
diff --git a/data/omnibus.yaml b/baserockimport/data/omnibus.yaml
index 2116f2a..2116f2a 100644
--- a/data/omnibus.yaml
+++ b/baserockimport/data/omnibus.yaml
diff --git a/data/rubygems.yaml b/baserockimport/data/rubygems.yaml
index e1e6fcc..e1e6fcc 100644
--- a/data/rubygems.yaml
+++ b/baserockimport/data/rubygems.yaml
diff --git a/baserockimport/mainloop.py b/baserockimport/mainloop.py
index ddcd480..345e45e 100644
--- a/baserockimport/mainloop.py
+++ b/baserockimport/mainloop.py
@@ -71,7 +71,7 @@ def run_extension(filename, args):
def extensions_dir():
module_dir = os.path.dirname(baserockimport.__file__)
- return os.path.join(module_dir, '..', 'exts')
+ return os.path.join(module_dir, 'exts')
extension_path = os.path.join(extensions_dir(), filename)
diff --git a/setup.py b/setup.py
index 052c701..f8396ef 100644
--- a/setup.py
+++ b/setup.py
@@ -40,6 +40,7 @@ setup(name='baserockimport',
packages=['baserockimport'],
package_data={
'baserockimport': [
+ 'data/*',
'exts/*',
]
},