summaryrefslogtreecommitdiff
path: root/dev-python/carbon/files/carbon-0.9.12-no-data-files.patch
blob: 129c7189f3b0376bbadbcdef45b4001fca370ba7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -ur carbon-0.9.12.orig/setup.py carbon-0.9.12/setup.py
--- /setup.py	2013-08-22 00:53:16.000000000 +0800
+++ /setup.py	2014-01-26 11:20:59.705864697 +0800
@@ -13,12 +13,6 @@
   setup_kwargs = dict()
 
 
-storage_dirs = [ ('storage/whisper',[]), ('storage/lists',[]),
-                 ('storage/log',[]), ('storage/rrd',[]) ]
-conf_files = [ ('conf', glob('conf/*.example')) ]
-
-install_files = storage_dirs + conf_files
-
 # If we are building on RedHat, let's use the redhat init scripts.
 if platform.dist()[0] == 'redhat':
     init_scripts = [ ('/etc/init.d', ['distro/redhat/init.d/carbon-cache',
@@ -39,7 +33,6 @@
   package_dir={'' : 'lib'},
   scripts=glob('bin/*'),
   package_data={ 'carbon' : ['*.xml'] },
-  data_files=install_files,
   install_requires=['twisted', 'txamqp'],
   **setup_kwargs
 )