add additional setup information

This commit is contained in:
2019-02-09 18:42:48 +01:00
parent e9973b1bbf
commit cf178350ec
4 changed files with 53 additions and 8 deletions

21
LICENSE Normal file
View File

@@ -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.

3
MANIFEST.in Normal file
View File

@@ -0,0 +1,3 @@
graft src
global-exclude *.py[cod]

2
README
View File

@@ -1,6 +1,8 @@
* Install * Install
Install in "development mode" so any change of the program is effective. Install in "development mode" so any change of the program is effective.
pip install -e . pip install -e .
or
python -m pip install -e .
* Uninstall * Uninstall
pip uninstall materials pip uninstall materials

View File

@@ -1,21 +1,40 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from os import path
from setuptools import setup, find_packages 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( setup(
name="materials", name="materials",
version="2019.02.08", version="2019.2.9",
#description="", description="metarial database",
#long_description="", long_description=long_description,
author="Daniel Weschke", author="Daniel Weschke",
author_email="daniel.weschke@directbox.de", author_email="daniel.weschke@directbox.de",
package_dir={'': 'src'}, package_dir={'': 'src'},
packages=find_packages("src"), packages=find_packages("src"),
py_scripts = [ # List of all single modules in src py_scripts = [
'materials.py', 'materials.py',
], ],
#install_requires=[
# '',
#],
entry_points={ entry_points={
'console_scripts': ['materials=materials:main'], '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'
]
) )