diff --git a/fatture_ccsr/__init__.py b/fatture_ccsr/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/downloader.py b/fatture_ccsr/downloader.py similarity index 100% rename from downloader.py rename to fatture_ccsr/downloader.py diff --git a/exc.py b/fatture_ccsr/exc.py similarity index 100% rename from exc.py rename to fatture_ccsr/exc.py diff --git a/fatture_ccsr.py b/fatture_ccsr/fatture_ccsr.py similarity index 100% rename from fatture_ccsr.py rename to fatture_ccsr/fatture_ccsr.py diff --git a/traf2000_converter.py b/fatture_ccsr/traf2000_converter.py similarity index 100% rename from traf2000_converter.py rename to fatture_ccsr/traf2000_converter.py diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..6272773 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,6 @@ +requests_ntlm==1.1.0 +wxPython==4.0.7 +requests==2.24.0 +openpyxl==3.0.5 +Unidecode==1.1.2 +PyPDF2==1.26.0 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..3ada1b3 --- /dev/null +++ b/setup.py @@ -0,0 +1,32 @@ +import setuptools + +with open('README.md', 'r', encoding='utf-8') as readme: + long_description = readme.read() + +setuptools.setup( + name='fatture_ccsr', + version='0.0.1', + author='Ettore Dreucci', + author_email='ettore.dreucci@gmail.com', + description='Utility to download or convert CCSR invoices to TeamSystem\'s TRAF2000 record', + long_description=long_description, + long_description_content_type='text/markdown', + url='https://github.com/Noettore/fattureSanRossore', + packages=setuptools.find_packages(), + install_requires=[ + 'wxPython', + 'requests', + 'Unidecode', + 'requests_ntlm', + 'openpyxl', + 'PyPDF2', + ], + include_package_data=True, + license='MIT', + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + ], + python_requires='>=3.7', +)