mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
include prefix in data_files install path so it installs correctly
setuptools wants to stick any relative install path in data_files into the .egg package. Things are not setup to use the egg now. We might want to consider using sticking files into the egg via pkg_resource in the future.
This commit is contained in:
parent
0663d7b197
commit
1b130950fd
1 changed files with 2 additions and 1 deletions
3
setup.py
3
setup.py
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env python2
|
||||
|
||||
from setuptools import setup
|
||||
import sys
|
||||
|
||||
setup(name='fdroidserver',
|
||||
version='0.1',
|
||||
|
@ -12,7 +13,7 @@ setup(name='fdroidserver',
|
|||
packages=['fdroidserver'],
|
||||
scripts=['fdroid', 'fd-commit'],
|
||||
data_files=[
|
||||
('share/doc/fdroidserver/examples',
|
||||
(sys.prefix + '/share/doc/fdroidserver/examples',
|
||||
[ 'buildserver/config.buildserver.py',
|
||||
'examples/config.py',
|
||||
'examples/makebs.config.py',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue