-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile.patch
More file actions
43 lines (43 loc) · 1.17 KB
/
Makefile.patch
File metadata and controls
43 lines (43 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Index: labtoolsuite-0.1/Makefile
===================================================================
--- /dev/null
+++ labtoolsuite-0.1/Makefile
@@ -0,0 +1,17 @@
+DESTDIR =
+
+all:
+ DESTDIR=$(DESTDIR) python setup.py build
+ DESTDIR=$(DESTDIR) python3 setup.py build
+
+clean:
+ find . -name __PYCACHE__ -o -name "*.pyc" | xargs rm -rf
+ rm -rf build
+
+install:
+ python setup.py install --install-layout=deb \
+ --root=$(DESTDIR)/ --prefix=/usr
+ python3 setup.py install --install-layout=deb \
+ --root=$(DESTDIR)/ --prefix=/usr
+
+.PHONY: all clean install
Index: labtoolsuite-0.1/setup.py
===================================================================
--- /dev/null
+++ labtoolsuite-0.1/setup.py
@@ -0,0 +1,16 @@
+from distutils.core import setup
+
+setup(name='LabtoolSuite',
+ version='0.1',
+ description='Python Distribution Utilities',
+ author='Jithin BP',
+ author_email='jithinbp@gmail.com',
+ url='http://pythonhosted.org//LabtoolSuite/',
+ packages=[
+ 'Labtools',
+ 'Labtools.calib_data',
+ 'Labtools.templates',
+ 'Labtools.tests',
+ 'Labtools.widgets',
+ ],
+ )