build and install getsig.class with setup.py
This commit is contained in:
parent
1b130950fd
commit
f918323e91
7
setup.py
7
setup.py
@ -1,8 +1,14 @@
|
||||
#!/usr/bin/env python2
|
||||
|
||||
from setuptools import setup
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
if not os.path.exists('fdroidserver/getsig/getsig.class'):
|
||||
subprocess.check_output('cd fdroidserver/getsig && javac getsig.java',
|
||||
shell=True)
|
||||
|
||||
setup(name='fdroidserver',
|
||||
version='0.1',
|
||||
description='F-Droid Server Tools',
|
||||
@ -18,6 +24,7 @@ setup(name='fdroidserver',
|
||||
'examples/config.py',
|
||||
'examples/makebs.config.py',
|
||||
'examples/fdroid-icon.png']),
|
||||
('fdroidserver/getsig', ['fdroidserver/getsig/getsig.class'])
|
||||
],
|
||||
install_requires=[
|
||||
'python-magic',
|
||||
|
Loading…
x
Reference in New Issue
Block a user