-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
26 lines (24 loc) · 1000 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env python
from setuptools import setup, find_packages
import warnings
from setuptools.command.install import install
class PostInstallCommand(install):
def run(self):
try:
from pip._internal import main as pipmain
pipmain(['install', 'readline'])
except:
warnings.warn('Could not install readline')
install.run(self)
setup(name='swutil',
version='1.4.4',
python_requires='>=3.6',
description='Provide common code for validation, multiprocessing, logging, decorator, configuration, plotting, etc.',
long_description=open('README.rst').read(),
author='Soeren Wolfers',
author_email='[email protected]',
url = 'https://github.com/soerenwolfers/swutil',
packages=find_packages(exclude=['*tests']),#,'examples*']),
cmdclass={ 'install': PostInstallCommand, },
install_requires=['numpy','matplotlib','tikzplotlib','memory_profiler','pathos','dill','PyPDF2']
)