diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..72a93e1 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,6 @@ +include README.md +include LICENSE +recursive-include Loaders * +include edl/Windows/*.dll +recursive-include edl/Library/TestFiles * + diff --git a/edl/Windows/__init__.py b/edl/Windows/__init__.py new file mode 100755 index 0000000..e69de29 diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..63ce6c0 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,13 @@ +[build-system] +requires = [ + "setuptools>=42", + "wheel", + "pyusb", + "pyserial", + "lxml", + "docopt", + "pycryptodome", + "colorama", + "usb" +] +build-backend = "setuptools.build_meta" diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..0c9e0fc --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[metadata] +license_file = LICENSE diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..690ef87 --- /dev/null +++ b/setup.py @@ -0,0 +1,39 @@ +#!/usr/bin/env python3 +from setuptools import setup, find_packages +import os + +setup( + name='edl', + version='3.5', + packages=find_packages(), + long_description=open("README.md").read(), + scripts=['edl.py','diag.py','modem/sierrakeygen.py','modem/boottodwnload.py','modem/enableadb.py','Loaders/fhloaderparse.py','Loaders/beagle_to_loader.py'], + data_files = ['LICENSE','README.md'], + long_description_content_type="text/markdown", + url='https://github.com/bkerler/edl', + project_urls={ + "Bug Tracker": "https://github.com/bkerler/edl/issues", + }, + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + ], + license='MIT License', + install_requires=[ + 'colorama', + 'docopt', + 'usb', + 'pyusb', + 'pyserial', + 'lxml', + 'pylzma', + 'pycryptodome' + ], + author='B. Kerler', + author_email='info@revskills.de', + description='Qualcomm reverse engineering and flashing tools', + python_requires=">=3.7", + include_package_data=True, + zip_safe=False +)