forked from jan/fatamorgana
Compare commits
No commits in common. "v0.5" and "master" have entirely different histories.
4 changed files with 5 additions and 15 deletions
|
|
@ -1,3 +1,2 @@
|
||||||
include README.md
|
include README.md
|
||||||
include LICENSE.md
|
include LICENSE.md
|
||||||
include fatamorgana/VERSION
|
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
0.5
|
|
||||||
|
|
@ -18,8 +18,6 @@
|
||||||
- Python 3.5 or later
|
- Python 3.5 or later
|
||||||
- numpy (optional, no additional functionality)
|
- numpy (optional, no additional functionality)
|
||||||
"""
|
"""
|
||||||
import pathlib
|
|
||||||
|
|
||||||
from .main import OasisLayout, Cell, XName
|
from .main import OasisLayout, Cell, XName
|
||||||
from .basic import NString, AString, Validation, OffsetTable, OffsetEntry, \
|
from .basic import NString, AString, Validation, OffsetTable, OffsetEntry, \
|
||||||
EOFError, SignedError, InvalidDataError, InvalidRecordError
|
EOFError, SignedError, InvalidDataError, InvalidRecordError
|
||||||
|
|
@ -27,7 +25,4 @@ from .basic import NString, AString, Validation, OffsetTable, OffsetEntry, \
|
||||||
|
|
||||||
__author__ = 'Jan Petykiewicz'
|
__author__ = 'Jan Petykiewicz'
|
||||||
|
|
||||||
with open(pathlib.Path(__file__).parent / 'VERSION', 'r') as f:
|
version = '0.4'
|
||||||
__version__ = f.read().strip()
|
|
||||||
version = __version__
|
|
||||||
|
|
||||||
|
|
|
||||||
11
setup.py
11
setup.py
|
|
@ -1,15 +1,13 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
import fatamorgana
|
||||||
|
|
||||||
with open('README.md', 'r') as f:
|
with open('README.md', 'r') as f:
|
||||||
long_description = f.read()
|
long_description = f.read()
|
||||||
|
|
||||||
with open('fatamorgana/VERSION', 'r') as f:
|
|
||||||
version = f.read().strip()
|
|
||||||
|
|
||||||
setup(name='fatamorgana',
|
setup(name='fatamorgana',
|
||||||
version=version,
|
version=fatamorgana.version,
|
||||||
description='OASIS layout format parser and writer',
|
description='OASIS layout format parser and writer',
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type='text/markdown',
|
long_description_content_type='text/markdown',
|
||||||
|
|
@ -37,6 +35,7 @@ setup(name='fatamorgana',
|
||||||
'gds',
|
'gds',
|
||||||
],
|
],
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
'Programming Language :: Python',
|
||||||
'Programming Language :: Python :: 3',
|
'Programming Language :: Python :: 3',
|
||||||
'Development Status :: 3 - Alpha',
|
'Development Status :: 3 - Alpha',
|
||||||
'Environment :: Other Environment',
|
'Environment :: Other Environment',
|
||||||
|
|
@ -49,11 +48,9 @@ setup(name='fatamorgana',
|
||||||
'Operating System :: Microsoft :: Windows',
|
'Operating System :: Microsoft :: Windows',
|
||||||
'Topic :: Scientific/Engineering',
|
'Topic :: Scientific/Engineering',
|
||||||
'Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)',
|
'Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)',
|
||||||
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||||
],
|
],
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
package_data={
|
|
||||||
'fatamorgana': ['VERSION']
|
|
||||||
},
|
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'typing',
|
'typing',
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue