Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
a-ma72 committed Nov 30, 2022
1 parent 918d60d commit 2574461
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 45 deletions.
62 changes: 46 additions & 16 deletions content.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,59 @@ RAINFLOW
| coan-args-minimal.in Input arguments file for coan invocation
| coan_invoke-minimal.bat Invoke coan (cmd shell)
| coan_invoke-minimal.sh Invoke coan (linux shell)
| config.h Configuration file (Rainflow)
| config.h.in Configuration file (Input for CMake)
| content.txt This file
| LICENSE License information
| rainflow.c Main routines
| rainflow.h Header file for rainflow.c
| README.MD Readme
|
+---MATLAB
| make.m Build rfc.m
| validate.m Examples an checks
+---python
| | __init.py__ Init
| | run_examples.py Python script executes examples from .tests.examples
| | run_tests.py Python script for unit testing
| | utils.py Utility module
| | setup.py Setup (build, install, deploy)
| | CMakeLists.txt CMake makefile
| | LICENSE License information
| | MANIFEST.in Manifest file
| | README.md Readme
| | pyproject.toml TOML file for build requirements
| | jupyter_screenshot.png Output from .tests.examples.example_1()
| | requirements.txt Requirements of the rfcnt module
| |
| +---src
| | rainflow.h Header file for rainflow.c
| | rainflow.hpp Header file for C++ interface
| | rainflow.c Rainflow main routines
| | rfcnt.cpp Python module `rfcnt`
| |
| \---tests
| __init.py__ Init
| test_rfcnt.py Unit Test
| examples.py Examples
| long_series.csv Time series for unit test and examples
|
+---src
| rainflow.h Header file for rainflow.c
| rainflow.hpp Header file for C++ interface
| rainflow.c Rainflow main routines
| config.h.in Configuration file (Input file for CMake)
| config.h Configuration file (Rainflow)
|
+---matlab
| make.m Build rfc.m
| validate.m Examples an checks
|
+---tools
| where_to_get_coan.txt Link
| where_to_get_coan.txt Link
|
+---greatest
| greatest.h 3rd party tool for automatic testing of C-code
| LICENSE License information
| README.md Readme
| greatest.h 3rd party tool for automatic testing of C-code
| LICENSE License information
| README.md Readme
|
\---test
long_series.c Long dataset for testing
long_series.csv Long dataset for testing as CSV file
rfc_test.c Main program (windows console application) for self-check, uses "greatest"
rfc_wrapper_advanced.cpp Example using rainflow in CPP context applying an advanced wrapper
rfc_wrapper_simple.cpp Example using rainflow in CPP context applying a simple wrapper
long_series.h Header (defining long series data length)
long_series.c Time series for tests
long_series.csv Time series for tests as CSV file
rfc_test.c Main program (windows console application) for comprehensive unit test, uses "greatest"
rfc_wrapper_simple.cpp Example using rainflow in CPP context applying a simple wrapper
rfc_wrapper_advanced.cpp Example using rainflow in CPP context applying an advanced wrapper
1 change: 0 additions & 1 deletion python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
matplotlib>=3.2.2
numpy~=1.19.5
pandas>=1.1.5
seaborn>=0.11.1
2 changes: 1 addition & 1 deletion python/run_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def main():

"""
Jupyter Notebook:
!pip install ./rfcnt-0.4.3.tar.gz
!pip install ./rfcnt-0.4.4.tar.gz
!pip install --upgrade matplotlib
!python -m rfcnt.run_examples
"""
27 changes: 0 additions & 27 deletions python/setup.py
Original file line number Diff line number Diff line change
@@ -1,30 +1,3 @@
# Source distribution (./dist)
# python setup.py build sdist
#
# Binary distribution (./build)
# python -m build -nwx
# python setup.py bdist_wheel --plat-name=win-amd64
# python setup.py bdist --formats=wininst
# python setup.py bdist_wininst --title= --bitmap=
# pip install --force-reinstall --no-deps package.tar

# If build with mingw32 compiler (TDM-GCC64):
# Comment out the get_msvcr() occurrences in PATHONPATH/Lib/distutils/cygwinccompiler.py
# Create a file distutils.cfg in PYTHON_ROOT/Lib/distutils:
# [build]
# compiler=mingw32

# PyPi
# python3 -m pip install --upgrade build twine
# python3 -m build
# python3 -m twine upload --repository testpypi dist/*
# pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple rfcnt==0.2.0
# python3 -m twine upload --repository pypi dist/*


# Install (Jupyter Notebook)
# !export CFLAGS='-std=c++11' && pip install rfcnt

from setuptools import setup, Extension
from os import path

Expand Down

0 comments on commit 2574461

Please sign in to comment.