Make setup

This commit is contained in:
Bjoern Kerler 2021-08-05 10:07:49 +02:00
parent 51411f84fb
commit a06914abc5
5 changed files with 60 additions and 0 deletions

6
MANIFEST.in Normal file
View file

@ -0,0 +1,6 @@
include README.md
include LICENSE
recursive-include Loaders *
include edl/Windows/*.dll
recursive-include edl/Library/TestFiles *

0
edl/Windows/__init__.py Executable file
View file

13
pyproject.toml Normal file
View file

@ -0,0 +1,13 @@
[build-system]
requires = [
"setuptools>=42",
"wheel",
"pyusb",
"pyserial",
"lxml",
"docopt",
"pycryptodome",
"colorama",
"usb"
]
build-backend = "setuptools.build_meta"

2
setup.cfg Normal file
View file

@ -0,0 +1,2 @@
[metadata]
license_file = LICENSE

39
setup.py Executable file
View file

@ -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
)