-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 01ae6e4
Showing
4 changed files
with
40 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# toolkit | ||
|
||
Assorted utilities from Algoshelf. | ||
|
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,34 @@ | ||
""" | ||
Toolkit | ||
------- | ||
Assorted utilities from Algoshelf. | ||
""" | ||
|
||
from setuptools import setup, find_packages | ||
from pathlib import Path | ||
import sys | ||
|
||
def get_version(): | ||
"""Returns the package version taken from version.py. | ||
""" | ||
path = Path(__file__).parent / "toolkit" / "version.py" | ||
code = path.read_text() | ||
env = {} | ||
exec(code, env, env) | ||
return env['__version__'] | ||
|
||
__version__ = get_version() | ||
|
||
install_requires = [] | ||
|
||
setup( | ||
name='toolkit', | ||
version=__version__, | ||
author='Algoshelf Team', | ||
author_email='[email protected]', | ||
description='Assorted utilities from Algoshelf', | ||
packages=find_packages(), | ||
include_package_data=True, | ||
install_requires=install_requires | ||
) |
Empty file.
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,2 @@ | ||
|
||
__version__ = "0.1.0" |