Skip to content

Commit

Permalink
* Simplified package structure as it's only one file so moved everything
Browse files Browse the repository at this point in the history
in the root directory.
* Updated setup.py to make sure pip installation works
* linted files
  • Loading branch information
spiros committed Aug 12, 2019
1 parent e0a52c2 commit f92c4f0
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 18 deletions.
File renamed without changes.
2 changes: 0 additions & 2 deletions frechetdist/__init__.py

This file was deleted.

37 changes: 24 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,25 @@
from setuptools import setup
import setuptools

setup(name='frechetdist',
version='0.3',
description='Calculate discrete Frechet distance',
url='https://github.com/spiros/discrete_frechet',
author='Spiros Denaxas',
author_email='[email protected]',
license='Apache License 2.0',
packages=['frechetdist'],
install_requires=[
'numpy',
],
zip_safe=False)
with open("README.md", "r") as fh:
long_description = fh.read()

setuptools.setup(
name='frechetdist',
version='0.6',
description='Calculate discrete Frechet distance',
url='https://github.com/spiros/discrete_frechet',
author='Spiros Denaxas',
author_email='[email protected]',
long_description=long_description,
long_description_content_type="text/markdown",
license='Apache License 2.0',
py_modules=['frechetdist'],
install_requires=[
'numpy>1.0',
],
zip_safe=False,
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent"
]
)
3 changes: 0 additions & 3 deletions frechetdist/tests/test_all.py → test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
import numpy as np
import pytest

MYPATH = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, MYPATH + '/../')

from frechetdist import frdist

TEST_CASES = [
Expand Down

0 comments on commit f92c4f0

Please sign in to comment.