-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
79 lines (78 loc) · 2.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
#!/usr/bin/env python
####
# baremetal-size Python Package:
#
# This package allows you to view the static data sizes of a binary file:
#
# User Install / Upgrade:
# ```
# pip install --upgrade .
# ```
#
###
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="baremetal-size",
use_scm_version={"root": ".", "relative_to": __file__},
license="Apache 2.0 License",
description="F Prime Sizing Utility",
long_description="""
This package allows you to view the static data sizes of a binary file.
""",
url="https://github.com/ethancheez/fprime-baremetal",
keywords=["fprime", "embedded", "nasa"],
project_urls={"Issue Tracker": "https://github.com/ethancheez/fprime-baremetal/issues"},
# Author of Python package, not F prime.
author="Ethan Chee",
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.baremetal.
####
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 :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: Unix",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
# Requires Python 3.7+
python_requires=">=3.7",
install_requires=[],
extras_require={},
# Setup and test requirements, not needed by normal install
setup_requires=[],
tests_require=[],
# Create a set of executable entry-points for running directly from the package
entry_points={
"console_scripts": [
"baremetal-size = baremetal.size.__main__:main",
],
"gui_scripts": [],
},
)