1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 15:13:27 +02:00

Merge branch 'master' into 'master'

let setuptools determine the base install path on OSX

This is the last commit from me before the 0.4.0 release.  Its ready to go!

A gentle reminder:
* sign the tag: `git tag -s 0.4.0 -m "tagging release 0.4.0"`
* release tags are `0.4.0` format, not `v0.4.0`
* change the version in `setup.py` to match the tag exactly, char by char

Then I'll post the update to pypi.python.org

See merge request !59
This commit is contained in:
Daniel Martí 2015-08-03 21:02:56 +00:00
commit 01cd81e19b

View File

@ -3,9 +3,9 @@
from setuptools import setup
import sys
# workaround issue with easy_install on OSX, where sys.prefix is not an installable location
# workaround issue on OSX, where sys.prefix is not an installable location
if sys.platform == 'darwin' and sys.prefix.startswith('/System'):
data_prefix = '/Library/Python/2.7/site-packages'
data_prefix = '.'
else:
data_prefix = sys.prefix