Remove setuptools flag
This commit is contained in:
parent
cc97dcddbd
commit
ab67c786b0
5
setup.py
5
setup.py
@ -56,6 +56,11 @@ ALL_LINGUAS = ('ar', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en_GB',
|
|||||||
'zh_CN', 'zh_HK', 'zh_TW')
|
'zh_CN', 'zh_HK', 'zh_TW')
|
||||||
INTLTOOL_FILES = ('data/tips.xml', 'gramps/plugins/lib/holidays.xml')
|
INTLTOOL_FILES = ('data/tips.xml', 'gramps/plugins/lib/holidays.xml')
|
||||||
|
|
||||||
|
svem_flag = '--single-version-externally-managed'
|
||||||
|
if svem_flag in sys.argv:
|
||||||
|
# Die, setuptools, die.
|
||||||
|
sys.argv.remove(svem_flag)
|
||||||
|
|
||||||
server = False
|
server = False
|
||||||
if '--server' in sys.argv:
|
if '--server' in sys.argv:
|
||||||
sys.argv.remove('--server')
|
sys.argv.remove('--server')
|
||||||
|
Loading…
Reference in New Issue
Block a user