Refactoring

This commit is contained in:
Pascal Serrarens 2025-03-31 11:35:15 +02:00
parent 3ab446219d
commit 0aff18245d
9 changed files with 31 additions and 1 deletions

View File

@ -1,9 +1,17 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0.If a copy of the MPL was not distributed with this
# file, You can obtain one at https ://mozilla.org/MPL/2.0/.
import sys
import os
# Make the parent directory (root of the package) discoverable
package_directory = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, package_directory)
import math
from .Float import *
import importlib
#from Float import *
importlib.import_module("Float")
# This is in fact AngleSingle
class Angle:

22
LinearAlgebra/setup.py Normal file
View File

@ -0,0 +1,22 @@
from setuptools import setup, find_packages
setup(
name='LinearAlgebra',
version='0.3.0',
packages=find_packages(),
install_requires=[
# List your library dependencies here
],
author='Your Name',
author_email='your.email@example.com',
description='A brief description of your library',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
url='https://github.com/yourusername/your_library',
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MPL2.0 License',
'Operating System :: OS Independent',
],
python_requires='>=3.6',
)