mirror of https://github.com/tqdm/tqdm.git
minor framework tidy
This commit is contained in:
parent
a736379bbb
commit
12614aa54c
6
setup.py
6
setup.py
|
@ -1,14 +1,14 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
import os
|
|
||||||
import sys
|
import sys
|
||||||
|
from os import path
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
src_dir = os.path.abspath(os.path.dirname(__file__))
|
src_dir = path.abspath(path.dirname(__file__))
|
||||||
if sys.argv[1].lower().strip() == 'make': # exec Makefile commands
|
if sys.argv[1].lower().strip() == 'make': # exec Makefile commands
|
||||||
import pymake
|
import pymake
|
||||||
fpath = os.path.join(src_dir, 'Makefile')
|
fpath = path.join(src_dir, 'Makefile')
|
||||||
pymake.main(['-f', fpath] + sys.argv[2:])
|
pymake.main(['-f', fpath] + sys.argv[2:])
|
||||||
# Stop to avoid setup.py raising non-standard command error
|
# Stop to avoid setup.py raising non-standard command error
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
[tox]
|
[tox]
|
||||||
# deprecation warning: py{34}
|
# deprecation warning: py{34}
|
||||||
envlist=py{27,34,35,36,37,38,39,py2,py3}{,-tf}{,-keras}, perf, flake8, setup.py
|
envlist=py{27,34,35,36,37,38,39,py2,py3}{,-tf}{,-keras}, perf, setup.py
|
||||||
isolated_build=True
|
isolated_build=True
|
||||||
|
|
||||||
[coverage]
|
[coverage]
|
||||||
|
|
Loading…
Reference in New Issue