diff --git a/.gitignore b/.gitignore index d90e2e5..ab9533c 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,6 @@ plot.py .ipynb_checkpoints to_fix.txt todo.txt +permpy.egg* +build +dist diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..db6dc55 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) [2016] [Cheyne Homberger] + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index eb2c4bf..8adebbb 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ on permutation patterns and classes. Easily extensible. To install (for now), just clone this repository and import `permpy`. -See `Pverview.ipynb` for more examples. +**See `Overview.ipynb` for more examples.** ### Examples: ```python diff --git a/setup.py b/setup.py index e69de29..b99ea90 100644 --- a/setup.py +++ b/setup.py @@ -0,0 +1,18 @@ +#!/usr/bin/env python + +try: + from setuptools import setup +except ImportError: + from distutils.core import setup + + +setup(name='permpy', + version='0.0.1', + description='Permutation (patterns) workshop in Python', + author='Cheyne Homberger', + author_email='cheyne.homberger@gmail.com', + url='https://github.com/cheyneh/permpy', + packages=['permpy', + 'permpy.InsertionEncoding', + 'permpy.RestrictedContainer'], + )