move to src, rewrite setup.py

This commit is contained in:
Markus Clauß 2022-11-08 15:27:03 +01:00
parent 101d540a72
commit 1c0affc437
23 changed files with 18 additions and 18 deletions

View File

@ -1,8 +0,0 @@
# main __init__.py
from pytestpavement.analysis import *
from pytestpavement.functions import *
from pytestpavement.helper import *
from pytestpavement.io import *
from pytestpavement.labtests import *
from pytestpavement.models import *

View File

@ -1,19 +1,21 @@
from setuptools import setup #!/usr/bin/env python
from setuptools import find_packages, setup
name = 'PyTestPavement'
version = '0.01'
release = '0.0.1'
setup( setup(
name=name, name='PyTestPavement',
version='0.1',
author='Markus Clauß', author='Markus Clauß',
author_email='markus.clauss@tu-dresden.de', author_email='markus.clauss@tu-dresden.de',
version=release,
install_requires=[ install_requires=[
'lmfit', 'lmfit',
'pandas', 'pandas',
'numpy', 'numpy',
'scipy', 'scipy',
'matplotlib', #remove later
'seaborn', #remove later
'mongoengine', 'mongoengine',
], ],
packages=['pytestpavement'], packages=find_packages(where="src"),
) package_dir={"": "src"},
include_package_data=True)

View File

@ -0,0 +1,7 @@
# main __init__.py
from .analysis import *
from .functions import *
from .helper import *
from .io import *
from .labtests import *
from .models import *

View File

@ -3,8 +3,7 @@ import os
from sys import getsizeof from sys import getsizeof
from numpy import array from numpy import array
from pandas import DataFrame, to_datetime from pandas import DataFrame
from versuche.helper import normalice_header
def detect_tabnum(filename, tabstr, encoding='utf-8'): def detect_tabnum(filename, tabstr, encoding='utf-8'):