fix python packaging

This commit is contained in:
Izalia Mae 2024-01-22 06:30:28 -05:00
parent 5f6aef1871
commit 8806348f95
3 changed files with 47 additions and 38 deletions

1
MANIFEST.in Normal file
View file

@ -0,0 +1 @@
include database/statements.sql

View file

@ -8,7 +8,9 @@ a = Analysis(
['relay/__main__.py'],
pathex=[],
binaries=[],
datas=[],
datas=[
('relay/database', 'relay/database')
],
hiddenimports=[],
hookspath=[],
hooksconfig={},
@ -19,6 +21,7 @@ a = Analysis(
cipher=block_cipher,
noarchive=False,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(

View file

@ -10,26 +10,31 @@ license_file = LICENSE
classifiers =
Environment :: Console
License :: OSI Approved :: AGPLv3 License
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
project_urls =
Source = https://git.pleroma.social/pleroma/relay
Tracker = https://git.pleroma.social/pleroma/relay/-/issues
[options]
zip_safe = False
packages = find:
packages = relay
include_package_data = true
install_requires = file: requirements.txt
python_requires = >=3.8
[options.extras_require]
dev =
flake8 = 3.1.0
pyinstaller = 6.3.0
pylint = 3.0
flake8 == 3.1.0
pyinstaller == 6.3.0
pylint == 3.0
[options.package_data]
relay =
database/statements.sql
[options.entry_points]
console_scripts =