-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsetup.py
More file actions
57 lines (49 loc) · 1.5 KB
/
setup.py
File metadata and controls
57 lines (49 loc) · 1.5 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
from pathlib import Path
from gmshairfoil2d import __version__
from setuptools import setup, find_packages
NAME = "gmshairfoil2d"
VERSION = __version__
AUTHOR = "Giacomo Benedetti"
EMAIL = "giacomo.benedetti@cfse.ch"
DESCRIPTION = "Python tool to generate 2D mesh around an airfoil"
LONG_DESCRIPTION = open("README.md").read()
URL = "https://github.com/cfsengineering/GMSH-Airfoil-2D"
REQUIRES_PYTHON = ">=3.11.0"
lib_dir = Path(__file__).parent
requirement_path = Path(lib_dir, "requirement.txt")
REQUIRED = []
if requirement_path.is_file():
with open(requirement_path) as f:
REQUIRED = f.read().splitlines()
README = "README.md"
PACKAGE_DIR = "."
LICENSE = "Apache License 2.0"
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,
packages=find_packages(),
python_requires=REQUIRES_PYTHON,
entry_points = {
"console_scripts": ['gmshairfoil2d = gmshairfoil2d.gmshairfoil2d:main']
},
keywords=["airfoil", "2D", "mesh", "cfd", "gmsh"],
install_requires=[
"gmsh>=4.14",
"numpy>=2.2.4",
"pytest>=8.3.4",
"requests>=2.26.0",
],
classifiers=[
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
],
)