Centralize the python build/install bits in the top Makefile. Build for python2 and python3 (if both present)
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
all:
|
||||
echo libdir: $(libdir)
|
||||
test '@srcdir@' = '.' || cp -rp @srcdir@/recoll .
|
||||
libdir=$(libdir) python setup.py build
|
||||
install:
|
||||
sudo python setup.py install
|
||||
clean:
|
||||
rm -rf build
|
||||
rm -f recoll/__init__.pyc
|
||||
rm -rf recoll/__pycache__
|
||||
distclean: clean
|
||||
rm -f setup.py
|
||||
@@ -72,6 +72,7 @@ setup (name = 'Recoll',
|
||||
author_email = 'jfd@recoll.org',
|
||||
url = 'http://www.recoll.org',
|
||||
license = 'GPL',
|
||||
package_dir = {'' : os.path.join(top, 'python', 'recoll')},
|
||||
long_description = '''
|
||||
''',
|
||||
packages = ['recoll'],
|
||||
|
||||
Reference in New Issue
Block a user