mirror of
https://github.com/frida/frida-python.git
synced 2026-11-07 09:35:57 -10:00
setup: Make environment variables optional
To make it easier to use in tests.
This commit is contained in:
1 parent
0e60fb8675
commit
ee526d07ac
1 file changed
+2
-2
@@ -52,9 +52,9 @@ if in_source_package:
|
||||
frida_version = version_line[9:]
|
||||
long_description = None
|
||||
else:
|
||||
frida_version = os.environ['FRIDA_VERSION']
|
||||
frida_version = os.environ.get('FRIDA_VERSION', None)
|
||||
long_description = codecs.open(os.path.join(package_dir, "README.md"), "r", 'utf-8').read()
|
||||
frida_extension = os.environ['FRIDA_EXTENSION']
|
||||
frida_extension = os.environ.get('FRIDA_EXTENSION', None)
|
||||
|
||||
index_url_pip_configs = ("global.index-url", "global.extra-index-url")
|
||||
|
||||
|
||||
Reference in new issue
Block a user