From 307d9798327932471ba2336ffe21140a2740e37b Mon Sep 17 00:00:00 2001 From: Ettore Dreucci Date: Thu, 7 Jan 2021 00:42:31 +0100 Subject: [PATCH] Create package Signed-off-by: Ettore Dreucci --- fatture_ccsr/__init__.py | 0 downloader.py => fatture_ccsr/downloader.py | 0 exc.py => fatture_ccsr/exc.py | 0 .../fatture_ccsr.py | 0 .../traf2000_converter.py | 0 requirements.txt | 6 ++++ setup.py | 32 +++++++++++++++++++ 7 files changed, 38 insertions(+) create mode 100644 fatture_ccsr/__init__.py rename downloader.py => fatture_ccsr/downloader.py (100%) rename exc.py => fatture_ccsr/exc.py (100%) rename fatture_ccsr.py => fatture_ccsr/fatture_ccsr.py (100%) rename traf2000_converter.py => fatture_ccsr/traf2000_converter.py (100%) create mode 100644 requirements.txt create mode 100644 setup.py 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', +)