Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
Version 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
heitzmann committed Dec 6, 2017
1 parent ef3048f commit fe624a0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Help support gdspy development by [donating via PayPal](https://www.paypal.com/c

## History of changes

### In development
### Version 1.2.1 (Dec 5, 2017)
* `GdsLibrary` can be created directly from a GDSII file
* Added return value to `GdsLibrary.read_gds`
* Fix return value of `GdsLibrary.add`
Expand Down
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
b.initialize_options()
b.finalize_options()
sys.path.insert(0, os.path.abspath('..' + os.sep + b.build_platlib))
print(sys.path)

# -- General configuration ------------------------------------------------

Expand Down
4 changes: 2 additions & 2 deletions gdspy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
category=ImportWarning,
stacklevel=2)

__version__ = '1.2'
__version__ = '1.2.1'

_halfpi = 0.5 * numpy.pi
_directions_dict = {'+x': 0, '+y': 0.5, '-x': 1, '-y': -0.5}
Expand Down Expand Up @@ -3356,7 +3356,7 @@ class GdsLibrary(object):
Parameters
----------
name : string
Name of the GDSII library. Ignored if a name is define in `infile`.
Name of the GDSII library. Ignored if a name is defined in `infile`.
infile : file or string
GDSII stream file (or path) to be imported. It must be opened for
reading in binary format.
Expand Down
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@
version = eval(line[14:])
break

setup_requires = ['pytest-runner'] if \
{'pytest', 'test', 'ptr'}.intersection(sys.argv) else []
setup_requires = []
if {'pytest', 'test', 'ptr'}.intersection(sys.argv):
setup_requires.append('pytest-runner')
if 'build_sphinx' in sys.argv:
setup_requires.extend(['sphinx', 'sphinx_rtd_theme'])

setup(
name='gdspy',
Expand Down

0 comments on commit fe624a0

Please sign in to comment.