fprime-tools/setup.py
2019-10-21 16:58:22 -07:00

98 lines
3.5 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env python
# -*- encoding: utf-8 -*-
####
# 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 ./Fw/Python
# ```
#
# Developer and Dynamic Installtion:
# ```
# pip install -e ./Fw/Python
# ```
###
from __future__ import absolute_import
from __future__ import print_function
from setuptools import find_packages
from setuptools import 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 decription information.
####
name='fprime',
version='1.3.0',
license='Apache 2.0 Lisense',
description='F Prime Flight Software core data types',
long_description='''
This package contains the necessary core data types used by F´. Users who seek to develop tools,
utilities, and other libraries used to interact with F´ 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='Michael.D.Starch@jpl.nasa.gov',
####
# 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',
'License :: OSI Approved :: Apache 2.0',
'Operating System :: Unix',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
# Requires Python 2.7, or 3.4+, and the 'six' Python package
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
install_requires=['six', "lxml", 'enum34;python_version < "3.4"', "Markdown", "pexpect", "pytest",
'Cheetah3;python_version >= "3.0"', 'Cheetah;python_version < "3.0"'],
# Setup and test requirments, not needed by normal install
setup_requires=['pytest-runner'],
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": []
}
)