Refactoring
This commit is contained in:
parent
73dd05ca0f
commit
de57d5fe97
@ -1,9 +1,17 @@
|
|||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# 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
|
# 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/.
|
# 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
|
import math
|
||||||
from .Float import *
|
import importlib
|
||||||
|
#from Float import *
|
||||||
|
importlib.import_module("Float")
|
||||||
|
|
||||||
# This is in fact AngleSingle
|
# This is in fact AngleSingle
|
||||||
class Angle:
|
class Angle:
|
22
setup.py
Normal file
22
setup.py
Normal 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',
|
||||||
|
)
|
Loading…
x
Reference in New Issue
Block a user