forked from nasa/fprime-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
109 lines (108 loc) · 3.64 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#!/usr/bin/env python
####
# fprime Python Package:
#
# The F prime python package represents the core data types required to use or develop F prime
# python code. This includes both the F prime GDS and Test API, as well as the Autocoding tools.
# To install this package, run the following commands:
#
# User Install / Upgrade:
# ```
# pip install --upgrade fprime-tools
# ```
#
# Developer and Dynamic Installation:
# ```
# pip install -e ./Fw/Python
# ```
###
from setuptools import find_packages, setup
# Setup a python package using setup-tools. This is a newer (and more recommended) technology
# then distutils.
setup(
####
# Package Description:
#
# Basic package information. Describes the package and the data contained inside. This
# information should match the F prime description information.
####
name="fprime-tools",
use_scm_version={
"root": ".",
"relative_to": __file__,
},
license="Apache 2.0 License",
description="F Prime Flight Software core data types",
long_description="""
This package contains the necessary core data types used by F prime. Users who seek to develop tools,
utilities, and other libraries used to interact with F prime framework code can use these data types
to interact with the data coming from the FSW.
""",
url="https://github.com/nasa/fprime",
keywords=["fprime", "embedded", "nasa"],
project_urls={"Issue Tracker": "https://github.com/nasa/fprime/issues"},
# Author of Python package, not F prime.
author="Michael Starch",
author_email="[email protected]",
####
# Included Packages:
#
# Will search for and included all python packages under the "src" directory. The root package
# is set to 'src' to avoid package names of the form src.fprime.
####
packages=find_packages("src"),
package_dir={"": "src"},
####
# Classifiers:
#
# Standard Python classifiers used to describe this package.
####
classifiers=[
# complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: Unix",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
# Requires Python 3.6+
python_requires=">=3.6",
install_requires=[
"lxml==4.6.3",
"Markdown==3.3.4",
"pexpect==4.8.0",
"pytest==6.2.4",
"Cheetah3==3.2.6.post2",
"setuptools-scm==6.0.1",
"cookiecutter==1.7.2",
],
extras_require={
"dev": [
"black==21.5b1",
"pylama==7.7.1",
"pylint==2.8.2",
"pre-commit==2.12.1",
"sphinx",
"sphinxcontrib.mermaid",
"sphinx-rtd-theme",
"sphinx-autoapi",
"sphinx-autoapi",
"recommonmark",
]
},
# Setup and test requirements, not needed by normal install
setup_requires=["pytest-runner==5.3.0", "setuptools_scm==6.0.1"],
tests_require=["pytest"],
# Create a set of executable entry-points for running directly from the package
entry_points={
"console_scripts": ["fprime-util = fprime.util.__main__:main"],
"gui_scripts": [],
},
)