Skip to content

Commit

Permalink
Merge pull request #17 from cadop/setuptools
Browse files Browse the repository at this point in the history
Setupfile for pip install
  • Loading branch information
cadop authored Sep 26, 2020
2 parents 6a065e5 + 657b94e commit 360fb86
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions pyCGM_Single/_about.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = 1.0
30 changes: 30 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import sys
sys.path.append('./pyCGM_Single') # TODO update to pycgm when fixed
from _about import __version__
import setuptools

with open("README.md", "r",encoding="utf8") as fh:
long_description = fh.read()

setuptools.setup(
name="pyCGM",
version= __version__,
author="", # Many
author_email="cadop@umich.edu",
description="A Python Implementation of the Conventional Gait Model",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/cadop/pycgm",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT",
"Operating System :: OS Independent",
],
python_requires='>=3',
install_requires=['numpy>=1.15'],
package_data={
"": ["SampleData/ROM/*.c3d","SampleData/ROM/*.vsk"], # TODO Need to fix
},
include_package_data=True,
)

0 comments on commit 360fb86

Please sign in to comment.