-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
executable file
·53 lines (49 loc) · 1.73 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import os
from setuptools import setup, find_packages
install_requires = ['matplotlib', 'numpy', 'pandas', 'seaborn']
try:
with open('README.md') as readme:
long_description = readme.read()
except IOError:
long_description = 'See https://pypi.python.org/pypi/wfmap'
distmeta = {}
for line in open(os.path.join(os.path.dirname(__file__), 'wfmap', '__init__.py')):
try:
field, value = (x.strip() for x in line.split('='))
except ValueError:
continue
if field == '__version_info__':
value = value.strip('[]()')
value = '.'.join(x.strip(' \'"') for x in value.split(','))
else:
value = value.strip('\'"')
distmeta[field] = value
print(long_description)
setup(
name='wfmap',
version=distmeta['__version_info__'],
description='Create customized heatmaps and trend charts for wafer',
long_description=long_description,
long_description_content_type='text/markdown',
author=distmeta['__author__'],
author_email=distmeta['__contact__'],
url=distmeta['__homepage__'],
license='MIT License',
platforms=['any'],
# packages=['wfmap'],
packages=find_packages(),
install_requires=install_requires,
include_package_data=True,
package_data={'wfmap': ['data/*.csv']},
#package_data={'wfmap.data': ['*.csv']},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering']
)