41 Commits

Author SHA1 Message Date
Thomas Boyer-Chammard
c91bd87468
Add pyproject.toml (#181)
* Remove setup.py and add pyproject.toml

* test: add testing publishing workflow

* Trigger CI only on devel and PRs

* Install `build` dependency

* test: hardcode semantic version

* test: publish to testpypi/fprime-tools

* test: better formatting

* Revert testing changes

* spelling

* Review recommendations

* link license file and comments

* spelling

* Add notes for legacy config options

* Add Python3.12 classifier
2023-12-13 15:14:01 -08:00
Thomas Boyer-Chammard
a456240f2d
Remove Python 3.7 support (#175) 2023-10-30 12:36:24 -07:00
Thomas Boyer Chammard
e1b7b6acb5
Install requirements into existing venv (#161)
* Install into existing venv

* format

* Retrieve latest release

* format

* review changes

* formatting
2023-08-16 16:53:18 -07:00
Thomas Boyer Chammard
77aa704873
Add hidden files to package_data (#158) 2023-08-03 11:31:22 -07:00
Thomas Boyer Chammard
e49e6a294a
Update cookiecutter prompts (#151)
* Use cookiecutter promts

* Clean up nested stuff

* Make Michael happy
2023-07-12 14:09:40 -07:00
M Starch
28f2c49cc3
Fix urllib3 version to prevent breakages on macOS (#141)
* Fix urllib3 version to prevent breakages on macOS

* Formatting

* Fixing version to <2.0.0
2023-05-24 13:34:31 -07:00
M Starch
7f2939fc52
Add flags to include unit test files in coverage (#137)
* Adding in flags to include test file types in coverage

* Formatting

* Bumping gcovr version and sp
2023-05-23 17:09:29 -07:00
Thomas Boyer Chammard
a6fbd2fd4b
Remove deps upper bounds (#114) 2023-02-01 13:04:23 -08:00
M Starch
e54ebaa7ae
lestarch: switching version checking to use requirements.txt (#85)
* lestarch: switching version checking to use requirements.txt

* lestarch: adding automatic publishing action
2022-06-14 13:24:11 -07:00
M Starch
df44b44686
lestarch: loosening package requirements (#78)
* lestarch: loosening package requirements

* lestarch: fixing on major revisions, per recommendation
2022-06-08 10:31:13 -07:00
Sean Marquez
152a37eeae
add MarkupSafe==2.0.1 to install_requires (#49)
* add MarkupSafe==2.0.1 to install_requires

* change MarkupSafe==2.0.1 to MarkupSafe<2.0.0
2022-05-04 08:49:19 -07:00
M Starch
970b4da2bf
lestarch: adding gcovr to packages for nasa/fprime#1248 (#54)
* lestarch: adding gcovr to python packages to support github.com/nasa/fprime.git#1248

* lestarch: initial gcovr implementation

* lestarch: improving command line of new target setup with verbose help messages

* lestarch: formatting previous commits

* lestarch: fixing gcovr to available 5.0 version

* lestarch: format after rebase

* lestarch: fixed global, deployment, and module coverage

* lestarch: cleaning up CI flags

* lestarch: fixing purge and purge --force

* lestarch: attemt to suppress LGTM warning

* lestarch: attemt to suppress LGTM warning
2022-04-28 10:16:19 -07:00
M Starch
e4ea8b621b
lestarch: fixing setup.py to properly install cookiecutters (#36) 2022-01-04 17:21:08 -08:00
Aidan Wagner
a65f0140e0
Adding in fprime-util new cookiecutter functionality (#5)
* Moved cookiecutter template into repository

* Created ability to set cookiecutter template in settings.ini

* Commented new cookiecutter feature

* Exclude zipfiles from spelling check.

* Removed zip file and now cookiecutter uses entire repository template

* Removed make files and added ability to create a queued component

* Fixed spelling errors

* Fixed additoinal spelling error

* Fixed one more spelling error

* Added words to expect.txt

* Started work on cookiecutter for ports. Added fprime-util new-port command.

* Added flags for fprime-util new

* Fixed spelling errors

* Fixed one more spelling error

* Added words to expect.txt

* Started work on cookiecutter for ports. Added fprime-util new-port command.

* Added flags for fprime-util new

* frime-util new --port working with generation of new directories or adding to old directories
depending on existance of directory

* Default options implemented

* Added ability to select how many arguments you want in your port

* Added ability to select if componet has ports, commands, telemetry, events, and/or parameters

* Removed file suffix fields

* Removed some cookiecutter variables

* Removed slug. Now cookiecutter uses name for file names

* Removed multiplatform support

* Cookiecutter now gets fprime root from settings.ini file

* Cookiecutter finds fprime path without settings.ini file

* Adding unit tests now works for non typical file structures

* Path changes to add_unit_tests

* Cookiecutter now checks to avoid duplicate adds to CMakeLists.txt

* Cookiecutter generates namespace without info from user

* Added new sdd.md file, cleaned up some of the code in the cookiecutter

* new --port command now adds directory to build

* fprime-util new --port now generates correct namespace for ports

* Further cleaned up component and port templates

* Added sections to component sdd.md template

* Removed code from debugging and added directory name check

* Fixed spelling erros

* Made pull request revisions

* Fixed spelling errors

* Reformatting

* Fixed unused imports and uneeded exceptions

* Revisions for cookiecutter

* Fixed issues with spell checker and other alerts

* Slight change to xml event template and removed question to add to
CMakeLists if already added

* Fix empty directory issue

* Suppressed outputs from refreshing cash and impl and unit test generations

* sdd only contains relevent information templates

* Remove whitespace after xml is generated

* Default ports automatically included in xml when atribute is chosen

* Added option to select argument type, description, and name

* Changed default directory for port to .

* Removed license and added health ports

* Added check for selecting no to all component options

* Added schedular example for queued component

* Fixed issue with queued generation

* Fixed spelling and format errors

* Added comments for new imported ports

* Fixed lgtm alerts

* Fixed LGTM alerts

* Fixed spelling errors

* Fixes to LGTM alerts

* Suppress LGTM alerts

* Further fixes for LGTM

* Fixing LGTM alerts

* Revisions to cookiecutter

* Standardized port names

* Finished revision to cookiecutter

* Formatting fix

* Fixed LGTM errors

* Fixed LGTM error

* Added check for non container types

* Provide argument type options to user

* Reformatted

* Fixed cookiecutter errors in pregen

* Removed ENUM option from new --port message

* Reformatted

* Added include replacement for backwards compatability

* Added filename fixer for cpp backward compatiability

* Cookiecutter revisions, added health port to queued component, added instructions to sdd

* Removed uneccesary spaces

* Remove print statement

* Removed prototype warning

* Removed make_namespace as it is no longer used

* Reformatted
2021-08-06 16:13:50 -07:00
M Starch
9a0f894532
lestarch: set formal Cheetah3 release, fixes #12 (#13) 2021-08-04 16:34:23 -07:00
Joshua Anderson
ec8eb1ede2 pip: Properly lookup source version 2021-06-01 20:45:31 -07:00
M Starch
0a52fbbdaa lestarch: adding in fprime-util new 2021-05-28 14:18:27 -07:00
M Starch
bba32f9a59 Merge pull request #642 from LeStarch/update/pypi-changes
lestarch: changes necessary to host on pypi
2021-05-28 13:19:23 -07:00
M Starch
83f8e84711 lestarch: changes necessary to host on pypi 2021-05-28 10:37:40 -07:00
M Starch
8b30306c10 lestarch: updating fprime to include versioning information 2021-05-28 09:28:13 -07:00
saba-ja
f60449ec92 saba-js: fixes 543 by freezing dependencies 2021-05-11 19:49:41 -07:00
Bastian Zimmermann
4da31ed091 python3.6 is now lower bound (#514)
* Remove reqs for python<3.5

* python3.6 is now lower bound

* python3.6 is now lower bound

* python3.6 is now lower bound

* python3.6 is now lower bound

* python3.6 is now lower bound
2021-05-05 13:25:18 -07:00
Josh Soref
619b232c14 spelling: requirements
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:49:49 -05:00
Josh Soref
babb6c6529 spelling: installation
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:48:31 -05:00
Bill Allen
7f5966a44f The six package is no longer a dependency. 2021-03-04 05:13:23 -07:00
Brian Wignall
5735b92d2a CLEAN/DOC: fix typos 2021-02-24 08:58:30 -05:00
Michael D Starch
6a0a0b71f7 mstarch: bumping python version 2020-11-05 10:04:48 -08:00
Michael D Starch
9b0896d692 lestarch: bumping python package version 2020-10-26 10:57:59 -07:00
Michael D Starch
f07816d806 mstarch: change log fixes and python versions 2020-10-14 15:26:44 -07:00
Michael D Starch
937fe4c15b mstarch: fixing extras setup 2020-09-24 11:00:51 -07:00
Michael D Starch
35879444ef mstarch: fixing up Fw UTs for refactored types 2020-07-20 16:48:50 -07:00
hunterpaulson
d63f98df49 hpaulson: Adds Python development guide 2020-06-23 09:05:17 -06:00
hpaulson
a32c18753f hpaulson: formats /Fw/Python/*.py using black 2020-06-12 13:15:03 -06:00
Michael D Starch
0427b91d56 mstarch: updating python versions 2020-06-07 18:32:46 -07:00
Michael D Starch
e397a66ab7 mstarch: finish switch to python3 executable; remove tk gui 2020-03-09 14:02:40 -07:00
M Starch
2b8c5f3b9b lestarch: fixing comment 2020-03-03 15:27:40 -08:00
M Starch
3f5199776d lestarch: formalizing Python 3.5+ support. Other versions are end-of-life, resolves nasa/fprime#103 2020-03-03 15:10:10 -08:00
Michael D Starch
6e82257087 mstarch: removing prime symbols from ascii-format documents 2019-11-01 09:52:26 -07:00
Michael D Starch
6920d4b43d mstarch: Gds as PIP package 2019-10-31 16:21:38 -07:00
Michael D Starch
51b7f30648 mstarch: fixing CMake validation 2019-10-21 16:58:22 -07:00
Michael D Starch
88b2a0fd4c mstarch: making Fw/Python an pip package 2019-10-21 15:45:29 -07:00