2018-09-16 20:20:56 -07:00
|
|
|
#!/usr/bin/env python3
|
2016-03-15 19:12:39 -07:00
|
|
|
|
2016-03-27 17:29:46 -07:00
|
|
|
from setuptools import setup, find_packages
|
2016-03-15 19:12:39 -07:00
|
|
|
|
2020-09-09 20:22:32 -07:00
|
|
|
|
2020-11-01 19:45:57 -08:00
|
|
|
with open('README.md', 'rt') as f:
|
2018-08-30 23:12:15 -07:00
|
|
|
long_description = f.read()
|
|
|
|
|
2020-11-01 19:45:31 -08:00
|
|
|
with open('masque/VERSION.py', 'rt') as f:
|
|
|
|
version = f.readlines()[2].strip()
|
2019-09-27 21:03:52 -07:00
|
|
|
|
2016-03-15 19:12:39 -07:00
|
|
|
setup(name='masque',
|
2019-09-27 21:03:52 -07:00
|
|
|
version=version,
|
2016-03-15 19:12:39 -07:00
|
|
|
description='Lithography mask library',
|
2018-08-30 23:12:15 -07:00
|
|
|
long_description=long_description,
|
|
|
|
long_description_content_type='text/markdown',
|
2016-03-15 19:12:39 -07:00
|
|
|
author='Jan Petykiewicz',
|
2021-07-11 17:20:17 -07:00
|
|
|
author_email='jan@mpxd.net',
|
2018-01-15 22:35:12 -08:00
|
|
|
url='https://mpxd.net/code/jan/masque',
|
2016-03-27 17:23:18 -07:00
|
|
|
packages=find_packages(),
|
2019-09-27 21:03:52 -07:00
|
|
|
package_data={
|
2020-11-01 19:45:31 -08:00
|
|
|
'masque': ['py.typed',
|
2020-05-19 00:15:51 -07:00
|
|
|
]
|
2019-09-27 21:03:52 -07:00
|
|
|
},
|
2016-03-22 14:41:18 -07:00
|
|
|
install_requires=[
|
2020-11-01 19:45:57 -08:00
|
|
|
'numpy',
|
2021-03-26 10:33:00 -07:00
|
|
|
'klamath>=1.0',
|
2016-03-22 14:41:18 -07:00
|
|
|
],
|
|
|
|
extras_require={
|
|
|
|
'gdsii': ['python-gdsii'],
|
2020-05-19 01:00:00 -07:00
|
|
|
'oasis': ['fatamorgana>=0.7'],
|
|
|
|
'dxf': ['ezdxf'],
|
2016-03-22 14:41:18 -07:00
|
|
|
'svg': ['svgwrite'],
|
2020-05-19 01:00:00 -07:00
|
|
|
'visualization': ['matplotlib'],
|
2017-10-15 11:39:37 -07:00
|
|
|
'text': ['freetype-py', 'matplotlib'],
|
2016-03-22 14:41:18 -07:00
|
|
|
},
|
2019-04-07 17:24:53 -07:00
|
|
|
classifiers=[
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'Development Status :: 4 - Beta',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'Intended Audience :: Information Technology',
|
|
|
|
'Intended Audience :: Manufacturing',
|
|
|
|
'Intended Audience :: Science/Research',
|
|
|
|
'License :: OSI Approved :: GNU Affero General Public License v3',
|
|
|
|
'Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)',
|
2019-04-07 17:53:22 -07:00
|
|
|
'Topic :: Scientific/Engineering :: Visualization',
|
2019-04-07 17:24:53 -07:00
|
|
|
],
|
2020-09-09 20:22:32 -07:00
|
|
|
keywords=[
|
|
|
|
'layout',
|
|
|
|
'design',
|
|
|
|
'CAD',
|
|
|
|
'EDA',
|
|
|
|
'electronics',
|
|
|
|
'photonics',
|
|
|
|
'IC',
|
|
|
|
'mask',
|
|
|
|
'pattern',
|
|
|
|
'drawing',
|
|
|
|
'lithography',
|
|
|
|
'litho',
|
|
|
|
'geometry',
|
|
|
|
'geometric',
|
|
|
|
'polygon',
|
|
|
|
'curve',
|
|
|
|
'ellipse',
|
|
|
|
'oas',
|
|
|
|
'gds',
|
|
|
|
'dxf',
|
|
|
|
'svg',
|
|
|
|
'OASIS',
|
|
|
|
'gdsii',
|
|
|
|
'gds2',
|
|
|
|
'convert',
|
|
|
|
'stream',
|
|
|
|
'custom',
|
|
|
|
'visualize',
|
|
|
|
'vector',
|
|
|
|
'freeform',
|
|
|
|
'manhattan',
|
|
|
|
'angle',
|
|
|
|
],
|
2016-03-22 14:41:18 -07:00
|
|
|
)
|
2016-03-15 19:12:39 -07:00
|
|
|
|