Skip to content

Commit

Permalink
Move setuptools-specific variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
mansourmoufid committed Sep 20, 2022
1 parent 69af9fa commit 3a0b67c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions androidenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,6 @@ def search(exp, str):
os.environ.update({'LDFLAGS': LDFLAGS})
os.environ.update({'PATH': PATH})

# Python setuptools
os.environ.update({'LDSHARED': '{} -shared'.format(LD)})
os.environ.update({'_PYTHON_HOST_PLATFORM': platform.system().lower()})


def find(dirs, name):
for dir in dirs:
Expand Down Expand Up @@ -313,7 +309,6 @@ def p(x):
print('export {}="{}"'.format(x, os.environ[x]))

vars = (
'_PYTHON_HOST_PLATFORM',
'ABI',
'ANDROID_SDK_ROOT',
'API',
Expand All @@ -328,7 +323,6 @@ def p(x):
'CXXFLAGS',
'LD',
'LDFLAGS',
'LDSHARED',
'PATH',
'RANLIB',
'READELF',
Expand Down

0 comments on commit 3a0b67c

Please sign in to comment.