Skip to content

Commit a4857d1

Browse files
committed
debug version & import issues
1 parent 4222a06 commit a4857d1

4 files changed

Lines changed: 50 additions & 273 deletions

File tree

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Installation
1515
1616
pip install dendrogram-ts
1717
18-
Example
19-
-------
18+
Examples
19+
--------
2020

2121
Plot by Maximum Clusters
2222
************************

dendrogram_ts/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
__version__ = "0.1.1"
2+
from dendrogram_ts.dendrogram_ts import maxclust_draw, allclust_draw, colorclust_draw

example/example.ipynb

Lines changed: 31 additions & 262 deletions
Large diffs are not rendered by default.

setup.py

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,39 @@
1-
from distutils.core import setup
1+
try:
2+
from setuptools import setup
3+
except ImportError:
4+
from distutils.core import setup
5+
6+
from dendrogram_ts import __version__
7+
28

39
with open('README.rst') as readme_file:
410
readme = readme_file.read()
511

612
setup(
713
name = 'dendrogram_ts',
814
packages = ['dendrogram_ts'],
9-
version = '0.1.0-beta.7',
10-
license='MIT',
15+
version = __version__,
16+
license = 'MIT',
1117
description = "Plotting time-series graphs in scipy's dendrogram",
1218
long_description = readme,
19+
long_description_content_type = 'text/x-rst',
1320
author = 'Jake Teo',
1421
author_email = 'mapattacker@gmail.com',
1522
url = 'https://github.com/mapattacker/dendrogram-ts',
16-
download_url = 'https://github.com/mapattacker/dendrogram-ts/archive/refs/tags/v0.1.0-beta.7.tar.gz',
23+
download_url = 'https://github.com/mapattacker/dendrogram-ts/archive/refs/tags/v' + __version__ + '.tar.gz',
1724
keywords = ['dendrogram', 'agglomerative clustering', 'timeseries'],
1825
install_requires=[
19-
'pandas==1.2.*',
20-
'numpy==1.20.*',
21-
'matplotlib==3.4.*',
22-
'scipy==1.6.*',
26+
'pandas',
27+
'numpy',
28+
'matplotlib',
29+
'scipy',
2330
],
2431
classifiers=[
2532
'Development Status :: 4 - Beta', # Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package
2633
'Intended Audience :: Developers',
2734
'Topic :: Software Development :: Build Tools',
2835
'License :: OSI Approved :: MIT License',
2936
'Programming Language :: Python :: 3.6',
30-
'Programming Language :: Python :: 3.6',
3137
'Programming Language :: Python :: 3.7',
3238
'Programming Language :: Python :: 3.8'
3339
],

0 commit comments

Comments
 (0)