-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from chris-greening/refactor-object-locations
Refactor objects into their own subpackages
- Loading branch information
Showing
29 changed files
with
137 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
spyrograph.epitrochoid.cardioid module | ||
====================================== | ||
|
||
.. automodule:: spyrograph.epitrochoid.cardioid | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
spyrograph.epitrochoid.epicycloid module | ||
======================================== | ||
|
||
.. automodule:: spyrograph.epitrochoid.epicycloid | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
spyrograph.epitrochoid.epitrochoid module | ||
========================================= | ||
|
||
.. automodule:: spyrograph.epitrochoid.epitrochoid | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
spyrograph.epitrochoid.nephroid module | ||
====================================== | ||
|
||
.. automodule:: spyrograph.epitrochoid.nephroid | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
spyrograph.epitrochoid.ranuncloid module | ||
======================================== | ||
|
||
.. automodule:: spyrograph.epitrochoid.ranuncloid | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
spyrograph.hypotrochoid.astroid module | ||
====================================== | ||
|
||
.. automodule:: spyrograph.hypotrochoid.astroid | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
spyrograph.hypotrochoid.deltoid module | ||
====================================== | ||
|
||
.. automodule:: spyrograph.hypotrochoid.deltoid | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
spyrograph.hypotrochoid.ellipse module | ||
====================================== | ||
|
||
.. automodule:: spyrograph.hypotrochoid.ellipse | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
spyrograph.hypotrochoid.hypocycloid module | ||
========================================== | ||
|
||
.. automodule:: spyrograph.hypotrochoid.hypocycloid | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
spyrograph.hypotrochoid.hypotrochoid module | ||
=========================================== | ||
|
||
.. automodule:: spyrograph.hypotrochoid.hypotrochoid | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
spyrograph.hypotrochoid.tusi\_couple module | ||
=========================================== | ||
|
||
.. automodule:: spyrograph.hypotrochoid.tusi_couple | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
"""Setup script for publishing package to PyPI""" | ||
|
||
import setuptools | ||
|
||
with open("README.md", "r") as fh: | ||
with open("README.md", "r", encoding='UTF-8') as fh: | ||
long_description = fh.read() | ||
|
||
setuptools.setup( | ||
name="spyrograph", | ||
version="0.11.2", | ||
version="0.11.3", | ||
author="Chris Greening", | ||
author_email="chris@christophergreening.com", | ||
description="Library for drawing spirographs in Python", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/chris-greening/spyrograph", | ||
packages=[], | ||
packages=setuptools.find_packages(), | ||
install_requires=[], | ||
classifiers=[ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
], | ||
python_requires=">=3.7", | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,3 @@ | ||
"""Import top-level API""" | ||
|
||
from spyrograph.hypotrochoid import Hypotrochoid | ||
from spyrograph.epitrochoid import Epitrochoid | ||
from spyrograph.hypocycloid import Hypocycloid | ||
from spyrograph.epicycloid import Epicycloid | ||
from spyrograph.deltoid import Deltoid | ||
from spyrograph.astroid import Astroid | ||
from spyrograph.ellipse import Ellipse | ||
from spyrograph.tusi_couple import TusiCouple | ||
from spyrograph.cardioid import Cardioid | ||
from spyrograph.nephroid import Nephroid | ||
from spyrograph.ranuncloid import Ranuncloid | ||
from spyrograph.hypotrochoid import * | ||
from spyrograph.epitrochoid import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
"""Import all epitrochoids into toplevel API for easy importing""" | ||
|
||
from spyrograph.epitrochoid.epitrochoid import Epitrochoid | ||
from spyrograph.epitrochoid.epicycloid import Epicycloid | ||
from spyrograph.epitrochoid.cardioid import Cardioid | ||
from spyrograph.epitrochoid.nephroid import Nephroid | ||
from spyrograph.epitrochoid.ranuncloid import Ranuncloid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
"""Import all epitrochoids into toplevel API for easy importing""" | ||
|
||
from spyrograph.hypotrochoid.hypotrochoid import Hypotrochoid | ||
from spyrograph.hypotrochoid.hypocycloid import Hypocycloid | ||
from spyrograph.hypotrochoid.deltoid import Deltoid | ||
from spyrograph.hypotrochoid.astroid import Astroid | ||
from spyrograph.hypotrochoid.ellipse import Ellipse | ||
from spyrograph.hypotrochoid.tusi_couple import TusiCouple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters