diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index d5c21c7..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Test - -on: - push: - branches: - - master - -jobs: - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: r-lib/actions/setup-r@v2 - - run: Rscript -e 'install.packages("dtw")' - - uses: actions/setup-python@v4 - with: - python-version: "3.9" # Version range or exact version of a Python version to use, using SemVer's version range syntax - architecture: "x64" # optional x64 or x86. Defaults to x64 if not specified - - run: pip install -e . - - run: pip install -r tests/requirements.txt - - run: python tests/test_cost.py diff --git a/setup.py b/setup.py index b8dbc78..43c5268 100644 --- a/setup.py +++ b/setup.py @@ -1,20 +1,21 @@ # -*- coding: utf-8 -*- import os -from setuptools import setup -from setuptools import find_packages + +from setuptools import find_packages, setup # meta info NAME = "dtwalign" -VERSION = "0.1.0" +VERSION = "0.1.1" AUTHOR = "Takehiro Suzuki" AUTHOR_EMAIL = "" URL = "https://github.com/statefb/dtwalign" -DESCRIPTION = 'Comprehensive DTW package which enables partial mathing and has various constraint options' +DESCRIPTION = "Comprehensive DTW package which enables partial mathing and has various constraint options" LICENSE = "MIT" -if not os.path.exists('README.txt'): +if not os.path.exists("README.txt"): os.system("pandoc -o README.txt README.md") -LONG_DESCRIPTION = open('README.txt').read() +LONG_DESCRIPTION = open("README.txt").read() + def main(): setup( @@ -34,11 +35,9 @@ def main(): "seaborn >= 0.8.1", "networkx", "numba >= 0.34.0", - "scipy" - ], - dependency_links=[ - + "scipy", ], + dependency_links=[], tests_require=[ "rpy2", ], @@ -49,9 +48,9 @@ def main(): "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Scientific/Engineering", - ] + ], ) -if __name__ == '__main__': +if __name__ == "__main__": main() diff --git a/tests/requirements.txt b/tests/requirements.txt index 8f38986..94a1896 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1 +1 @@ -rpy2 +rpy2==3.5.6