mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 22:06:53 +08:00
Upgrade syntax using `pyupgrade --py36-plus` . Manually drop several `six` imports. Also: - Remove broken pr_cache in scripts/bootstrap_history.py - Fix broken prefix removal in lib/galaxy/tool_util/deps/mulled/mulled_build.py
13 lines
247 B
Python
Executable File
13 lines
247 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import os
|
|
import sys
|
|
|
|
assert sys.version_info[:2] >= (2, 6)
|
|
|
|
lib = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, "lib"))
|
|
sys.path.insert(1, lib)
|
|
|
|
import pkg_resources
|
|
print(pkg_resources.get_platform())
|