-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
39 lines (34 loc) · 1.15 KB
/
setup.py
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
import os
import re
from setuptools import find_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
VERSIONFILE = "fym/_version.py"
verstrline = open(VERSIONFILE, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
verstr = mo.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
setup(
name="fym",
version=verstr,
url="https://github.com/fdcl-nrf/fym",
author="SNU FDCL",
author_email="kshoon92@gmail.com",
description="SNU FDCL Fym: Flight simulator for various purpose",
long_description=long_description,
long_description_content_type="text/markdown",
include_package_data=True,
license_files=["LICENSE"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
packages=find_packages(),
python_requires=">=3.7",
install_requires=["numpy", "scipy", "matplotlib", "numdifftools", "h5py", "tqdm"],
)