From f43ea39f1ba13562376715798c1f127f155d163d Mon Sep 17 00:00:00 2001 From: lkrsnik Date: Tue, 31 Oct 2023 10:39:19 +0100 Subject: [PATCH] Updated setup.py and licence --- .gitignore | 3 +++ LICENSE.txt | 22 ++++++++++++++++++++++ setup.py | 16 ++++++++++++---- 3 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 LICENSE.txt diff --git a/.gitignore b/.gitignore index c6aa33f..d34f2a6 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,6 @@ venv data .idea +build +dist +*.egg-info diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..feb4ec6 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2023 CLARIN.SI + +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. + diff --git a/setup.py b/setup.py index f8f0a24..7dbaf9b 100644 --- a/setup.py +++ b/setup.py @@ -1,11 +1,19 @@ from setuptools import setup +import os -setup(name='conversion_utils', - version='0.2', +here = os.path.abspath(os.path.dirname(__file__)) +with open(os.path.join(here, 'README.md'), encoding='utf-8') as f: + long_description = f.read() + +setup(name='cjvt_conversion_utils', + version='0.3', description='CJVT conversion utilities', + long_description=long_description, + long_description_content_type="text/markdown", url='https://gitea.cjvt.si/generic/conversion_utils', - author='Cyprian Laskowski', - author_email='cyp@cjvt.si', + author='CJVT', + author_email='pypi@cjvt.si', + license='MIT', packages=['conversion_utils', 'conversion_utils.resources', 'conversion_utils.tests'], install_requires=['lxml', 'importlib_resources'], include_package_data=True,