update structure and readme and add area
This commit is contained in:
22
setup.py
22
setup.py
@@ -2,35 +2,29 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from os import path
|
||||
from setuptools import setup, find_packages
|
||||
from pkg_resources import parse_version
|
||||
|
||||
with open(path.join(path.abspath(path.dirname(__file__)), 'README.md'), encoding='utf-8') as f:
|
||||
long_description = f.read()
|
||||
|
||||
setup(
|
||||
name="engineering",
|
||||
version="2024.07.20",
|
||||
version=str(parse_version("2024.07.20")),
|
||||
description="engineering tools",
|
||||
long_description=long_description,
|
||||
author="Daniel Weschke",
|
||||
author_email="daniel.weschke@directbox.de",
|
||||
package_dir={'': 'src'},
|
||||
packages=find_packages("src"),
|
||||
py_scripts = [
|
||||
# mech
|
||||
'beam.py',
|
||||
'plate.py',
|
||||
'tube.py',
|
||||
# et
|
||||
'awg.py',
|
||||
],
|
||||
packages=find_packages(where="src"),
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
# mech
|
||||
'eng-beam=beam:main',
|
||||
'eng-plate=plate:main',
|
||||
'eng-tube=tube:main',
|
||||
'eng-area = engineering.area:main',
|
||||
'eng-beam = engineering.beam:main',
|
||||
'eng-plate = engineering.plate:main',
|
||||
'eng-tube = engineering.tube:main',
|
||||
# et
|
||||
'eng-awg=awg:main',
|
||||
'eng-awg = engineering.awg:main',
|
||||
],
|
||||
},
|
||||
keywords = 'mechanical electrical engineering mechanics plate tube stress',
|
||||
|
||||
Reference in New Issue
Block a user