Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
anandology committed Jan 24, 2020
0 parents commit 01ae6e4
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# toolkit

Assorted utilities from Algoshelf.

34 changes: 34 additions & 0 deletions setup.py
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 added toolkit/__init__.py
Empty file.
2 changes: 2 additions & 0 deletions toolkit/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

__version__ = "0.1.0"

0 comments on commit 01ae6e4

Please sign in to comment.