From bf2682c378f64005109d98771770b773c3384cd3 Mon Sep 17 00:00:00 2001 From: Dev Singh Date: Mon, 10 Aug 2020 14:29:51 -0500 Subject: [PATCH] Implement CD with building on tags to PyPI (#34) * Create python-publish.yml * populated publish-analysis.yml moved legacy versions of analysis to seperate subfolder Signed-off-by: Arthur Lu * attempt to fix issue with publish action Signed-off-by: Arthur Lu * another attempt o fix publish-analysis.yml Signed-off-by: Arthur Lu * this should work now Signed-off-by: Arthur Lu * pypa can't take just one package so i'm trying all Signed-off-by: Arthur Lu * this should totally work now Signed-off-by: Arthur Lu * trying removing custom dir Signed-off-by: Arthur Lu * rename analysis to tra_analysis, bump version to 2.0.0 * remove old packages which are already on github releases * remove pycache * removed ipynb_checkpoints Signed-off-by: Arthur Lu * build * do the dir thing * trying removing custom dir Signed-off-by: Arthur Lu Signed-off-by: Dev Singh * rename analysis to tra_analysis, bump version to 2.0.0 Signed-off-by: Dev Singh * remove old packages which are already on github releases Signed-off-by: Dev Singh * remove pycache Signed-off-by: Dev Singh * build Signed-off-by: Dev Singh * removed ipynb_checkpoints Signed-off-by: Arthur Lu Signed-off-by: Dev Singh * do the dir thing Signed-off-by: Dev Singh * Revert "do the dir thing" This reverts commit 2eb7ffca8d77968e824d4f6e914fde8e74792f71. * correct dir * set correct yaml positions Signed-off-by: Dev Singh * attempt to set correct dir Signed-off-by: Dev Singh * run on tags only Signed-off-by: Dev Singh * remove all caches from vcs Signed-off-by: Dev Singh * bump version for testing Signed-off-by: Dev Singh * remove broke build Signed-off-by: Dev Singh * dont upload dists to github Signed-off-by: Dev Singh * bump to 2.0.2 for testing Signed-off-by: Dev Singh * fix yaml Signed-off-by: Dev Singh * update docs Signed-off-by: Dev Singh * add to readme Signed-off-by: Dev Singh * run only on master Signed-off-by: Dev Singh Co-authored-by: Arthur Lu Co-authored-by: Dev Singh --- superscript.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/superscript.py b/superscript.py index 94e2d84..c6bba2e 100644 --- a/superscript.py +++ b/superscript.py @@ -1,5 +1,5 @@ # Titan Robotics Team 2022: Superscript Script -# Written by Arthur Lu & Jacob Levine +# Written by Arthur Lu, Jacob Levine, and Dev Singh # Notes: # setup: @@ -7,6 +7,8 @@ __version__ = "0.0.6.002" # changelog should be viewed using print(analysis.__changelog__) __changelog__ = """changelog: + 0.0.6.003: + - rename analysis imports to tra_analysis for PyPI publishing 0.0.6.002: - integrated get_team_rankings.py as get_team_metrics() function - integrated visualize_pit.py as graph_pit_histogram() function @@ -110,7 +112,7 @@ __all__ = [ # imports: -from analysis import analysis as an +from tra_analysis import analysis as an import data as d import json import numpy as np