add beam into setup

This commit is contained in:
2020-10-27 09:54:27 +01:00
parent 51d2c1b286
commit 044c7daab2
2 changed files with 9 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ For local (user) installation the local path must be in the `PYTHONPATH` environ
Typically `$HOME/.local/lib/pythonX.Y/site-packages`
Use either:
pip install -e .
pip install --user -e .
python -m pip install -e .

View File

@@ -3,12 +3,12 @@
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:
with open(path.join(path.abspath(path.dirname(__file__)), 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name="mechanics",
version="2019.2.12",
version="2020.10.21",
description="mechanical tools",
long_description=long_description,
author="Daniel Weschke",
@@ -16,11 +16,16 @@ setup(
package_dir={'': 'src'},
packages=find_packages("src"),
py_scripts = [
'beam.py',
'plate.py',
'tube.py',
],
entry_points={
'console_scripts': ['plate=plate:main', 'tube=tube:main'],
'console_scripts': [
'beam=beam:main',
'plate=plate:main',
'tube=tube:main',
],
},
keywords = 'mechanics plate tube stress',
license="MIT",