Skip to content

Commit

Permalink
versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
ASLeonard committed Oct 6, 2017
1 parent 4cdfa82 commit 0a9790d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ python setup.py install --user
```
ignore the compile warnings for now

---

## Usage

No promises, but should be able to use like
Expand Down Expand Up @@ -41,6 +43,8 @@ Can also pass additional arguments to GrowPoly
* write_it = False/True -> writes the animated gif to the local directory
* fps_par = float -> the number of steps per second in the written gif

---

## Misc

Homepage!
Expand Down
2 changes: 2 additions & 0 deletions polyominomodel/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from polyomino_animator import GrowPoly

from version import __version__
1 change: 1 addition & 0 deletions polyominomodel/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '0.3.0'
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from distutils.core import setup
from distutils.extension import Extension
import os
#import os
#import sysconfig

Expand All @@ -8,17 +9,19 @@
extra_compile_arguments = ["-std=c++11", "-O3","-Wall", "-Wextra","-xc++"]
extra_link_arguments = ["-Wl,--no-undefined","-lstdc++","-shared-libgcc"]

here = os.path.abspath(os.path.dirname(__file__))
exec(open(os.path.join(here, 'polyominomodel/version.py')).read())

setup(
name = 'PolyominoModel',
version = '0.2.0',
version = __version__,
author = 'AS Leonard',
packages = ['polyominomodel'],
author_email = '[email protected]',
description = 'Various polyomino fun parts',
long_description = open('README.md').read(),
license = 'LICENSE.txt',
platforms = ["Linux"],
install_requires = ["matplotlib"],
url = "https://github.com/IcyHawaiian/SLAM",
ext_modules = [Extension("polyominomodel.CLAM",sources=['src/tile_methods.cpp','src/tile_analysis.cpp','src/polyomino_wrapper.cpp'],include_dirs = ['src/includes'],extra_compile_args=extra_compile_arguments,extra_link_args=extra_link_arguments,language='c++11')],
headers = ['src/includes/tile_analysis.hpp','src/includes/tile_methods.hpp','src/includes/xorshift.hpp']
Expand Down

0 comments on commit 0a9790d

Please sign in to comment.