add setup

This commit is contained in:
2019-02-12 17:26:30 +01:00
parent b39878d625
commit e6eb7c31a9
7 changed files with 90 additions and 0 deletions

40
setup.py Normal file
View File

@@ -0,0 +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="mechanics",
version="2019.2.12",
description="mechanical tools",
long_description=long_description,
author="Daniel Weschke",
author_email="daniel.weschke@directbox.de",
package_dir={'': 'src'},
packages=find_packages("src"),
py_scripts = [
'plate.py',
'tube.py',
],
entry_points={
'console_scripts': ['plate=plate:main', 'tube=tube:main'],
},
keywords = 'mechanics plate tube stress',
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 :: Physics'
]
)