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`
|
||||
|
||||
Use either:
|
||||
|
||||
pip install -e .
|
||||
pip install --user -e .
|
||||
python -m pip install -e .
|
||||
|
||||
11
setup.py
11
setup.py
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user