add beam into setup
This commit is contained in:
@@ -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`
|
Typically `$HOME/.local/lib/pythonX.Y/site-packages`
|
||||||
|
|
||||||
Use either:
|
Use either:
|
||||||
|
|
||||||
pip install -e .
|
pip install -e .
|
||||||
pip install --user -e .
|
pip install --user -e .
|
||||||
python -m pip install -e .
|
python -m pip install -e .
|
||||||
|
|||||||
11
setup.py
11
setup.py
@@ -3,12 +3,12 @@
|
|||||||
from os import path
|
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:
|
with open(path.join(path.abspath(path.dirname(__file__)), 'README.md'), encoding='utf-8') as f:
|
||||||
long_description = f.read()
|
long_description = f.read()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="mechanics",
|
name="mechanics",
|
||||||
version="2019.2.12",
|
version="2020.10.21",
|
||||||
description="mechanical tools",
|
description="mechanical tools",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
author="Daniel Weschke",
|
author="Daniel Weschke",
|
||||||
@@ -16,11 +16,16 @@ setup(
|
|||||||
package_dir={'': 'src'},
|
package_dir={'': 'src'},
|
||||||
packages=find_packages("src"),
|
packages=find_packages("src"),
|
||||||
py_scripts = [
|
py_scripts = [
|
||||||
|
'beam.py',
|
||||||
'plate.py',
|
'plate.py',
|
||||||
'tube.py',
|
'tube.py',
|
||||||
],
|
],
|
||||||
entry_points={
|
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',
|
keywords = 'mechanics plate tube stress',
|
||||||
license="MIT",
|
license="MIT",
|
||||||
|
|||||||
Reference in New Issue
Block a user