mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 15:02:51 +03:00
build and install getsig.class with setup.py
This commit is contained in:
parent
1b130950fd
commit
f918323e91
1 changed files with 7 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue