-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·58 lines (50 loc) · 1.6 KB
/
setup.py
File metadata and controls
executable file
·58 lines (50 loc) · 1.6 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
56
57
58
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Imports
import setuptools
from pathlib import Path
# Constants
NAME = "ceasiompy"
EXCLUDE_DIRS = ["test_cases", "geometries", "installation"]
VERSION = "2.0.0"
AUTHOR = "CFS Engineering"
EMAIL = "giacomo.benedetti@cfse.ch"
DESCRIPTION = "A conceptual aircraft design environment"
URL = "https://github.com/cfsengineering/CEASIOMpy"
REQUIRES_PYTHON = ">=3.11.14"
REQUIRED = ["defusedxml"]
README = "readme.md"
PACKAGE_DIR = "src"
LICENSE = "license"
here = Path(__file__).parent
with open(Path(here, README), "r", encoding="utf-8") as fp:
long_description = fp.read()
with open(Path(here, "license.md"), "r") as f:
license = f.read()
setuptools.setup(
name=NAME,
version=VERSION,
author=AUTHOR,
author_email=EMAIL,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
url=URL,
include_package_data=True,
package_dir={"": PACKAGE_DIR},
entry_points={"console_scripts": ["ceasiompy_run = app.cli:main_exec"]},
license=license,
packages=setuptools.find_packages(where=PACKAGE_DIR, exclude=EXCLUDE_DIRS),
python_requires=REQUIRES_PYTHON,
install_requires=REQUIRED,
classifiers=[
"Programming Language :: Python :: 3",
"License :: Other/Proprietary License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
],
)