From cf178350ecfd88ffd70d488eb8b3c5c25be1cd2d Mon Sep 17 00:00:00 2001 From: Daniel Weschke Date: Sat, 9 Feb 2019 18:42:48 +0100 Subject: [PATCH] add additional setup information --- LICENSE | 21 +++++++++++++++++++++ MANIFEST.in | 3 +++ README | 2 ++ setup.py | 35 +++++++++++++++++++++++++++-------- 4 files changed, 53 insertions(+), 8 deletions(-) create mode 100644 LICENSE create mode 100644 MANIFEST.in diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..809c1a7 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019, Daniel Weschke + +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/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..30a2781 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,3 @@ +graft src + +global-exclude *.py[cod] diff --git a/README b/README index a12d5b9..0dbcf3f 100644 --- a/README +++ b/README @@ -1,6 +1,8 @@ * Install Install in "development mode" so any change of the program is effective. pip install -e . +or +python -m pip install -e . * Uninstall pip uninstall materials diff --git a/setup.py b/setup.py index 5eae044..dcffabd 100644 --- a/setup.py +++ b/setup.py @@ -1,21 +1,40 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +from os import path from setuptools import setup, find_packages +with open(path.join(path.abspath(path.dirname(__file__)), 'README'), encoding='utf-8') as f: + long_description = f.read() + setup( name="materials", - version="2019.02.08", - #description="", - #long_description="", + version="2019.2.9", + description="metarial database", + long_description=long_description, author="Daniel Weschke", author_email="daniel.weschke@directbox.de", package_dir={'': 'src'}, packages=find_packages("src"), - py_scripts = [ # List of all single modules in src + py_scripts = [ 'materials.py', ], - #install_requires=[ - # '', - #], entry_points={ 'console_scripts': ['materials=materials:main'], - } + }, + keywords = 'materials mechanics', + license="MIT", + classifiers=[ + 'Environment :: Console', + 'Intended Audience :: Education', + 'Intended Audience :: End Users/Desktop', + 'Intended Audience :: Developers', + 'Intended Audience :: Science/Research', + 'License :: OSI Approved :: MIT License', + 'Natural Language :: English', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Topic :: Scientific/Engineering', + 'Topic :: Scientific/Engineering :: Chemistry', + 'Topic :: Scientific/Engineering :: Physics' + ] )