diff --git a/.gitignore b/.gitignore index a0c8d79..042c49d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ build cmtpy.egg-info +dist diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..1a2dd8d --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,17 @@ +MIT License +Copyright (c) 2020 VIKRANT SHAH +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/cmtpy/__init__.py b/cmtpy/__init__.py index e69de29..61ba81e 100644 --- a/cmtpy/__init__.py +++ b/cmtpy/__init__.py @@ -0,0 +1 @@ +from cmtpy.histogram_warping_ace import histogram_warping_ace \ No newline at end of file diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..8f917f5 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[metadata] +license_files = LICENSE.txt \ No newline at end of file diff --git a/setup.py b/setup.py index 4a4885d..dea27b0 100644 --- a/setup.py +++ b/setup.py @@ -1,18 +1,35 @@ from setuptools import setup +# read the contents of your README file +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="cmtpy", packages=["cmtpy"], - version="0.0.1", + version="0.0.3", description="Tools for manipulating image contrast", + long_description=long_description, + long_description_content_type='text/markdown', author="vs", author_email="vikrantshah+py@gmail.com", license='MIT', url="https://github.com/vik748/cmtpy", keywords=["contrast", "histogram", "enhancement"], - classifiers=[], + classifiers=[ + 'Development Status :: 3 - Alpha', # Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package + 'Intended Audience :: Science/Research', # Define that your audience are developers + 'Topic :: Scientific/Engineering', + 'License :: OSI Approved :: MIT License', # Again, pick a license + 'Programming Language :: Python :: 3', #Specify which pyhton versions that you want to support + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + ], install_requires=[ 'scipy', 'numpy' ], -) +) \ No newline at end of file