add setup.py, version, and py.typed
This commit is contained in:
parent
965749d6c4
commit
bef5421703
62
setup.py
Normal file
62
setup.py
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
|
|
||||||
|
with open('README.md', 'rt') as f:
|
||||||
|
long_description = f.read()
|
||||||
|
|
||||||
|
with open('snarl/VERSION.py', 'rt') as f:
|
||||||
|
version = f.readlines()[2].strip()
|
||||||
|
|
||||||
|
setup(name='snarl',
|
||||||
|
version=version,
|
||||||
|
description='CAD layout electrical connectivity checker',
|
||||||
|
long_description=long_description,
|
||||||
|
long_description_content_type='text/markdown',
|
||||||
|
author='Jan Petykiewicz',
|
||||||
|
author_email='jan@mpxd.net',
|
||||||
|
url='https://mpxd.net/code/jan/snarl',
|
||||||
|
packages=find_packages(),
|
||||||
|
package_data={
|
||||||
|
'snarl': ['py.typed',
|
||||||
|
]
|
||||||
|
},
|
||||||
|
install_requires=[
|
||||||
|
'numpy',
|
||||||
|
'pyclipper',
|
||||||
|
],
|
||||||
|
extras_require={
|
||||||
|
'masque': ['masque'],
|
||||||
|
'oasis': ['fatamorgana>=0.7'],
|
||||||
|
'gdsii': ['klamath>=1.0'],
|
||||||
|
},
|
||||||
|
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 General Public License v3',
|
||||||
|
'Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)',
|
||||||
|
'Topic :: Scientific/Engineering :: Visualization',
|
||||||
|
],
|
||||||
|
keywords=[
|
||||||
|
'layout',
|
||||||
|
'design',
|
||||||
|
'CAD',
|
||||||
|
'EDA',
|
||||||
|
'electronics',
|
||||||
|
'IC',
|
||||||
|
'mask',
|
||||||
|
'pattern',
|
||||||
|
'drawing',
|
||||||
|
'lvs',
|
||||||
|
'connectivity',
|
||||||
|
'short',
|
||||||
|
'unintentional',
|
||||||
|
'label',
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
4
snarl/VERSION.py
Normal file
4
snarl/VERSION.py
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
""" VERSION defintion. THIS FILE IS MANUALLY PARSED BY setup.py and REQUIRES A SPECIFIC FORMAT """
|
||||||
|
__version__ = '''
|
||||||
|
0.1
|
||||||
|
'''.strip()
|
@ -1,2 +1,10 @@
|
|||||||
|
"""
|
||||||
|
TODO: ALL DOCSTRINGS
|
||||||
|
"""
|
||||||
from .main import check_connectivity
|
from .main import check_connectivity
|
||||||
from . import interfaces
|
from . import interfaces
|
||||||
|
|
||||||
|
|
||||||
|
__author__ = 'Jan Petykiewicz'
|
||||||
|
|
||||||
|
from .VERSION import __version__
|
||||||
|
0
snarl/py.typed
Normal file
0
snarl/py.typed
Normal file
Loading…
Reference in New Issue
Block a user