-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (49 loc) · 2.11 KB
/
Copy pathsetup.py
File metadata and controls
55 lines (49 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import find_namespace_packages, setup
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Arguments marked as "Required" below must be included for upload to PyPI.
# Fields marked as "Optional" may be commented out...
def readme():
with open(path.join(here, 'README.md'), encoding='utf-8') as file:
return file.read()
core_requires = ['matplotlib', 'meshio', 'numpy', 'numpy-stl', 'Pillow', 'reportlab', 'scipy']
excel_requires = ['xlwings']
ml_requires = ['scikit-learn']
dev_requires = ['build', 'pytest']
setup(
name='ANYstructure', # Required
url = 'https://github.com/audunarn/ANYstructure',
entry_points={"console_scripts": ['ANYstructure = anystruct.__main__:main']},
version='6.1.1', # Required
license='GPL-3.0-or-later',
description='A plate field optimization tool for offshore structures calculated according to DNV standards',
long_description = readme(),
long_description_content_type='text/markdown',
author='Audun Arnesen Nyhus', # Optional
author_email='audunarn@gmail.com', # Optional
classifiers=[ # Optional
'Development Status :: 5 - Production/Stable',
'Environment :: X11 Applications',
'Programming Language :: Python :: 3.14',
'Topic :: Scientific/Engineering'],
keywords='dnv-gl-os-c101 dnv-rp-c202 dnv-rp-c201 naval_architecture structural_engineering steel buckling fatigue local_scantlings optimization weight',
include_package_data=True,
install_requires=core_requires + excel_requires + ml_requires,
extras_require={
'core': core_requires,
'excel': excel_requires,
'ml': ml_requires,
'dev': dev_requires,
'all': core_requires + excel_requires + ml_requires,
},
packages=find_namespace_packages(include=['anystruct', 'anystruct.*'], exclude=['anystruct.calc_structure_classes*']),
py_modules = [],
)