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