tqdm/setup.py

17 lines
439 B
Python
Raw Normal View History

2013-10-26 19:59:26 +00:00
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
2021-02-17 04:15:29 +00:00
from os import path
2016-06-05 14:50:29 +00:00
2021-01-09 17:00:18 +00:00
from setuptools import setup
2021-02-17 04:15:29 +00:00
src_dir = path.abspath(path.dirname(__file__))
if sys.argv[1].lower().strip() == 'make': # exec Makefile commands
import pymake
2021-02-17 04:15:29 +00:00
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)
setup(use_scm_version=True)