mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-07 10:04:07 +00:00
a couple fixups after autoformatting
This commit is contained in:
@@ -4,10 +4,6 @@ import os
|
|||||||
import shlex
|
import shlex
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
import recommonmark.parser
|
|
||||||
|
|
||||||
# For conversion from markdown to html
|
|
||||||
|
|
||||||
# Set paths
|
# Set paths
|
||||||
sys.path.insert(0, os.path.abspath('.'))
|
sys.path.insert(0, os.path.abspath('.'))
|
||||||
|
|
||||||
|
14
setup.py
14
setup.py
@@ -10,6 +10,12 @@ from __future__ import print_function
|
|||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
import sys
|
import sys
|
||||||
|
from glob import glob
|
||||||
|
from subprocess import check_call
|
||||||
|
|
||||||
|
from setuptools import setup
|
||||||
|
from setuptools.command.bdist_egg import bdist_egg
|
||||||
|
|
||||||
|
|
||||||
v = sys.version_info
|
v = sys.version_info
|
||||||
if v[:2] < (3, 5):
|
if v[:2] < (3, 5):
|
||||||
@@ -23,14 +29,6 @@ if os.name in ('nt', 'dos'):
|
|||||||
warning = "WARNING: Windows is not officially supported"
|
warning = "WARNING: Windows is not officially supported"
|
||||||
print(warning, file=sys.stderr)
|
print(warning, file=sys.stderr)
|
||||||
|
|
||||||
# At least we're on the python version we need, move on.
|
|
||||||
|
|
||||||
import os
|
|
||||||
from glob import glob
|
|
||||||
from subprocess import check_call
|
|
||||||
|
|
||||||
from setuptools import setup
|
|
||||||
from setuptools.command.bdist_egg import bdist_egg
|
|
||||||
|
|
||||||
pjoin = os.path.join
|
pjoin = os.path.join
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user