2024-12-14 18:41:42 +01:00
|
|
|
#!/usr/bin/python3
|
|
|
|
|
|
|
|
import setuptools
|
2024-12-14 19:19:29 +01:00
|
|
|
from bread_editor.gui.raw_ui import ui_to_py
|
2024-12-14 18:41:42 +01:00
|
|
|
from pathlib import Path
|
|
|
|
|
2024-12-14 19:19:29 +01:00
|
|
|
ui_to_py.convert_ui() # convert the .ui files to .py files before setup
|
|
|
|
|
2024-12-14 18:41:42 +01:00
|
|
|
this_directory = Path(__file__).parent # use readme file as long description
|
|
|
|
long_description = (this_directory / "README.md").read_text()
|
|
|
|
|
|
|
|
setuptools.setup(
|
|
|
|
name="Bread Editor",
|
|
|
|
version="0.0",
|
|
|
|
description="A binary editor with that you can edit single bits.",
|
|
|
|
long_description=long_description,
|
|
|
|
long_description_content_type="text/markdown",
|
|
|
|
url="https://teapot.informationsanarchistik.de/Wobbl/Bread_Editor",
|
|
|
|
author="The Wobbler",
|
|
|
|
author_email="emil@i21k.de",
|
2024-12-14 19:19:29 +01:00
|
|
|
packages=["bread_editor", "bread_editor.gui"],
|
2024-12-14 18:41:42 +01:00
|
|
|
package_data={"": ["*.ui", "*.txt"]},
|
|
|
|
install_requires=[
|
|
|
|
"PyQt6",
|
|
|
|
"wobbl_tools @ git+https://teapot.informationsanarchistik.de/Wobbl/wobbl_tools@main#egg=wobbl_tools"
|
|
|
|
],
|
|
|
|
entry_points={
|
2024-12-14 19:19:29 +01:00
|
|
|
"console_scripts": ["bread_editor=bread_editor.main:start_from_command_line"],
|
2024-12-14 18:41:42 +01:00
|
|
|
}
|
|
|
|
)
|