minor framework tidy

This commit is contained in:
Casper da Costa-Luis 2021-02-17 04:15:29 +00:00
parent a736379bbb
commit 12614aa54c
No known key found for this signature in database
GPG Key ID: 986B408043AE090D
2 changed files with 4 additions and 4 deletions

View File

@ -1,14 +1,14 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from os import path
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
import pymake
fpath = os.path.join(src_dir, 'Makefile')
fpath = path.join(src_dir, 'Makefile')
pymake.main(['-f', fpath] + sys.argv[2:])
# Stop to avoid setup.py raising non-standard command error
sys.exit(0)

View File

@ -5,7 +5,7 @@
[tox]
# 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
[coverage]