Metadata-Version: 2.0
Name: yuna
Version: 1.0.5
Summary: Processes the layers from a GDS file.
Home-page: https://github.com/rubenvanstaden/yuna
Author: Ruben van Staden
Author-email: rubenvanstaden@gmail.com
License: BSD
Description-Content-Type: UNKNOWN
Keywords: yuna
Platform: UNKNOWN
Requires-Dist: gdsyuna
Requires-Dist: pyclipper
Requires-Dist: setuptools
Requires-Dist: numpy
Requires-Dist: matplotlib
Requires-Dist: docopt
Requires-Dist: future
Requires-Dist: termcolor

# Yuna

Yuna uses the *gdsyuna* package to read and manipulate the GDS layers.

## Dependencies

Yuna package descriptions:

`pyclipper` Python wrapper for Angusj Clipper library.
`termcolor` Package for color outputs in the terminal.
`gdsyuna` Python library for GDS file handeling.
`docopt` Library for user arguments in the terminal.

Make sure Python is installed on your system:

```
# Fedora
sudo dnf install python2-devel
sudo dnf install python3-devel

# CentOS
sudo yum install python-devel

# Ubuntu
sudo apt-get install python-dev
sudo apt-get install python3-dev
```

Install the necessary C++ compilers:

```
# Fedora
sudo dnf install gcc-c++

# CentOS
sudo yum install gcc-c++

# Ubuntu
sudo apt-get update 
sudo apt-get install --reinstall build-essential
```

Install TKinter which is needed by Matplotlib:

```
sudo apt-get install python-tk # Ubuntu
sudo dnf install tkinter # Fedora
```

## Installing

You can install Yuna directly from the Python package manager *pip* using:

```
sudo pip install yuna
```

To instead install Yuna from source, clone the git repository, *cd* into it, and run:

```
sudo pip install -r requirements.txt
sudo pip install .
```

We can also install the package in development mode with a symlink, so that
changes to the source files will be immediately available to other users of the
package on your system.

```
sudo pip install -e .
```

## Mac OS

To get the Tkinter UI working in Mac, add the following file in `~/.matplotlib`:
https://stackoverflow.com/questions/21784641/installation-issue-with-matplotlib-python


