1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-06-05 22:19:21 +02:00

Add pre-installed python packages within rootfs overlay

TODO: This is just a quick fix and need to be changed to
buildroot packages in the upcoming days/weeks/months.
This commit is contained in:
j1nx
2022-12-08 21:02:30 +01:00
parent ce2443f753
commit 37d97e1551
36609 changed files with 7287696 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_ACOS_HPP
#define PYTHONIC_MATH_ACOS_HPP
#include "pythonic/include/math/acos.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_ACOSH_HPP
#define PYTHONIC_MATH_ACOSH_HPP
#include "pythonic/include/math/acosh.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_ASIN_HPP
#define PYTHONIC_MATH_ASIN_HPP
#include "pythonic/include/math/asin.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_ASINH_HPP
#define PYTHONIC_MATH_ASINH_HPP
#include "pythonic/include/math/asinh.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_ATAN_HPP
#define PYTHONIC_MATH_ATAN_HPP
#include "pythonic/include/math/atan.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_ATAN2_HPP
#define PYTHONIC_MATH_ATAN2_HPP
#include "pythonic/include/math/atan2.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_ATANH_HPP
#define PYTHONIC_MATH_ATANH_HPP
#include "pythonic/include/math/atanh.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,21 @@
#ifndef PYTHONIC_MATH_CEIL_HPP
#define PYTHONIC_MATH_CEIL_HPP
#include "pythonic/include/math/ceil.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
template <class T>
long ceil(T x)
{
return std::ceil(x);
}
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_COPYSIGN_HPP
#define PYTHONIC_MATH_COPYSIGN_HPP
#include "pythonic/include/math/copysign.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_COS_HPP
#define PYTHONIC_MATH_COS_HPP
#include "pythonic/include/math/cos.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_COSH_HPP
#define PYTHONIC_MATH_COSH_HPP
#include "pythonic/include/math/cosh.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,22 @@
#ifndef PYTHONIC_MATH_DEGREES_HPP
#define PYTHONIC_MATH_DEGREES_HPP
#include "pythonic/include/math/degrees.hpp"
#include "pythonic/utils/functor.hpp"
#include "pythonic/math/pi.hpp"
PYTHONIC_NS_BEGIN
namespace math
{
template <class T>
double degrees(T x)
{
return (x * 360.) / (2. * pi);
}
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,6 @@
#ifndef PYTHONIC_MATH_E_HPP
#define PYTHONIC_MATH_E_HPP
#include "pythonic/include/math/e.hpp"
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_ERF_HPP
#define PYTHONIC_MATH_ERF_HPP
#include "pythonic/include/math/erf.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_ERFC_HPP
#define PYTHONIC_MATH_ERFC_HPP
#include "pythonic/include/math/erfc.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_EXP_HPP
#define PYTHONIC_MATH_EXP_HPP
#include "pythonic/include/math/exp.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_EXPM1_HPP
#define PYTHONIC_MATH_EXPM1_HPP
#include "pythonic/include/math/expm1.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_FABS_HPP
#define PYTHONIC_MATH_FABS_HPP
#include "pythonic/include/math/fabs.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,24 @@
#ifndef PYTHONIC_MATH_FACTORIAL_HPP
#define PYTHONIC_MATH_FACTORIAL_HPP
#include "pythonic/include/math/factorial.hpp"
#include "pythonic/utils/functor.hpp"
PYTHONIC_NS_BEGIN
namespace math
{
template <class T>
T factorial(T x)
{
long res = 1;
for (long i = 2; i <= x; i++)
res *= i;
return res;
}
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,21 @@
#ifndef PYTHONIC_MATH_FLOOR_HPP
#define PYTHONIC_MATH_FLOOR_HPP
#include "pythonic/include/math/floor.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
template <class T>
long floor(T x)
{
return std::floor(x);
}
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_FMOD_HPP
#define PYTHONIC_MATH_FMOD_HPP
#include "pythonic/include/math/fmod.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,24 @@
#ifndef PYTHONIC_MATH_FREXP_HPP
#define PYTHONIC_MATH_FREXP_HPP
#include "pythonic/include/math/frexp.hpp"
#include "pythonic/utils/functor.hpp"
#include "pythonic/types/tuple.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
std::tuple<double, long> frexp(double x)
{
int exp;
double sig = std::frexp(x, &exp);
return std::tuple<double, long>(sig, exp);
}
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,20 @@
#ifndef PYTHONIC_MATH_GAMMA_HPP
#define PYTHONIC_MATH_GAMMA_HPP
#include "pythonic/include/math/gamma.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
double gamma(double x)
{
return std::tgamma(x);
}
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_HYPOT_HPP
#define PYTHONIC_MATH_HYPOT_HPP
#include "pythonic/include/math/hypot.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_ISINF_HPP
#define PYTHONIC_MATH_ISINF_HPP
#include "pythonic/include/math/isinf.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_ISNAN_HPP
#define PYTHONIC_MATH_ISNAN_HPP
#include "pythonic/include/math/isnan.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_LDEXP_HPP
#define PYTHONIC_MATH_LDEXP_HPP
#include "pythonic/include/math/ldexp.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_LGAMMA_HPP
#define PYTHONIC_MATH_LGAMMA_HPP
#include "pythonic/include/math/lgamma.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,22 @@
#ifndef PYTHONIC_MATH_LOG_HPP
#define PYTHONIC_MATH_LOG_HPP
#include "pythonic/include/math/log.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
using std::log;
double log(double x, double base)
{
return log(x) / log(base);
}
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_LOG10_HPP
#define PYTHONIC_MATH_LOG10_HPP
#include "pythonic/include/math/log10.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_LOG1P_HPP
#define PYTHONIC_MATH_LOG1P_HPP
#include "pythonic/include/math/log1p.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,25 @@
#ifndef PYTHONIC_MATH_MODF_HPP
#define PYTHONIC_MATH_MODF_HPP
#include "pythonic/include/math/modf.hpp"
#include "pythonic/utils/functor.hpp"
#include "pythonic/types/tuple.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
std::tuple<double, double> modf(double x)
{
double i;
double frac = std::modf(x, &i);
return std::make_tuple(frac, i);
}
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,6 @@
#ifndef PYTHONIC_MATH_PI_HPP
#define PYTHONIC_MATH_PI_HPP
#include "pythonic/include/math/pi.hpp"
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_POW_HPP
#define PYTHONIC_MATH_POW_HPP
#include "pythonic/include/math/pow.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,21 @@
#ifndef PYTHONIC_MATH_RADIANS_HPP
#define PYTHONIC_MATH_RADIANS_HPP
#include "pythonic/include/math/radians.hpp"
#include "pythonic/utils/functor.hpp"
#include "pythonic/math/pi.hpp"
PYTHONIC_NS_BEGIN
namespace math
{
template <class T>
double radians(T x)
{
return (x * 2. * pi) / 360.;
}
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_SIN_HPP
#define PYTHONIC_MATH_SIN_HPP
#include "pythonic/include/math/sin.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_SINH_HPP
#define PYTHONIC_MATH_SINH_HPP
#include "pythonic/include/math/sinh.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_SQRT_HPP
#define PYTHONIC_MATH_SQRT_HPP
#include "pythonic/include/math/sqrt.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_TAN_HPP
#define PYTHONIC_MATH_TAN_HPP
#include "pythonic/include/math/tan.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,16 @@
#ifndef PYTHONIC_MATH_TANH_HPP
#define PYTHONIC_MATH_TANH_HPP
#include "pythonic/include/math/tanh.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,21 @@
#ifndef PYTHONIC_MATH_TRUNC_HPP
#define PYTHONIC_MATH_TRUNC_HPP
#include "pythonic/include/math/trunc.hpp"
#include "pythonic/utils/functor.hpp"
#include <cmath>
PYTHONIC_NS_BEGIN
namespace math
{
template <class T>
long trunc(T x)
{
return x;
}
}
PYTHONIC_NS_END
#endif