diff --git a/MANIFEST b/MANIFEST index 7e11704..4e8534b 100644 --- a/MANIFEST +++ b/MANIFEST @@ -2,3 +2,31 @@ setup.py cmcrameri/__init__.py cmcrameri/cm.py +cmcrameri/cmaps/acton.txt +cmcrameri/cmaps/bamako.txt +cmcrameri/cmaps/batlow.txt +cmcrameri/cmaps/berlin.txt +cmcrameri/cmaps/bilbao.txt +cmcrameri/cmaps/broc.txt +cmcrameri/cmaps/brocO.txt +cmcrameri/cmaps/buda.txt +cmcrameri/cmaps/cork.txt +cmcrameri/cmaps/corkO.txt +cmcrameri/cmaps/davos.txt +cmcrameri/cmaps/devon.txt +cmcrameri/cmaps/grayC.txt +cmcrameri/cmaps/hawaii.txt +cmcrameri/cmaps/imola.txt +cmcrameri/cmaps/lajolla.txt +cmcrameri/cmaps/lapaz.txt +cmcrameri/cmaps/lisbon.txt +cmcrameri/cmaps/nuuk.txt +cmcrameri/cmaps/oleron.txt +cmcrameri/cmaps/oslo.txt +cmcrameri/cmaps/roma.txt +cmcrameri/cmaps/romaO.txt +cmcrameri/cmaps/tofino.txt +cmcrameri/cmaps/tokyo.txt +cmcrameri/cmaps/turku.txt +cmcrameri/cmaps/vik.txt +cmcrameri/cmaps/vikO.txt diff --git a/cmcrameri/cm.py b/cmcrameri/cm.py index 006b1d1..4325e10 100755 --- a/cmcrameri/cm.py +++ b/cmcrameri/cm.py @@ -14,7 +14,6 @@ import os # Find the colormap text files and make a list of the paths text_file_folder = os.path.join(os.path.dirname(__file__), 'cmaps') -print(Path(os.path.join(os.path.split(__file__)[0], 'cmaps'))) paths = list(Path(text_file_folder).glob('*.txt')) crameri_cmaps = dict() crameri_cmaps_r = dict() diff --git a/setup.py b/setup.py index 563d26a..1d9a14d 100644 --- a/setup.py +++ b/setup.py @@ -2,12 +2,27 @@ setup.py for cmcrameri """ -from distutils.core import setup +from setuptools import setup + +from os import path +this_directory = path.abspath(path.dirname(__file__)) +with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: + long_description = f.read() + +setup( + name='an_example_package', + # other arguments omitted + long_description=long_description, + long_description_content_type='text/markdown' +) + setup( name = 'cmcrameri', packages = ['cmcrameri'], - version = '0.7', + version = '0.8', license='MIT', + long_description=long_description, + long_description_content_type='text/markdown' description = 'Perceptually uniform colourmaps', author = 'Callum Rollo', author_email = 'c.rollo@outlook.com', @@ -18,7 +33,6 @@ 'matplotlib', 'numpy', ], - packages=['mypkg'], package_dir={'mypkg': 'cmcrameri'}, package_data={'cmcrameri': ['cmaps/*.txt']}, )