mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
using the following command: ``` autopep8 -i -r --exclude $(sed -e 's|^|./|' -e 's|/$||' .ci/flake8_blacklist.txt | paste -sd,) --select E201,E202 . ```
12 lines
245 B
Python
Executable File
12 lines
245 B
Python
Executable File
#!/usr/bin/env python
|
|
import os
|
|
import sys
|
|
|
|
assert sys.version_info[:2] >= (2, 4)
|
|
|
|
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()
|