FreeDATA/setup.py

35 lines
1.2 KiB
Python
Raw Normal View History

2024-04-17 19:47:40 +00:00
from setuptools import setup, find_packages
# Reading requirements.txt for dependencies
with open('requirements.txt') as f:
required = f.read().splitlines()
2024-04-17 20:02:10 +00:00
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
2024-04-17 19:47:40 +00:00
setup(
2024-04-18 09:04:25 +00:00
name='freedata_server',
2024-04-17 20:58:18 +00:00
version='0.15.4',
2024-04-17 19:47:40 +00:00
packages=find_packages(where='.'),
package_dir={'': '.'},
install_requires=required,
python_requires='>=3.9',
author='DJ2LS',
author_email='dj2ls@proton.me',
description='A free, open-source, multi-platform application for sending files and messages, using the codec2 HF modems.',
2024-04-17 20:02:10 +00:00
long_description=long_description,
long_description_content_type="text/markdown",
2024-04-17 19:47:40 +00:00
url='https://freedata.app',
license='GPL3.0',
entry_points={
'console_scripts': [
2024-04-18 09:04:25 +00:00
'freedata_server=freedata_server.server:main', # Points to the main() function in server.py
2024-04-17 19:47:40 +00:00
],
},
include_package_data=True, # Ensure non-python files are included if specified
package_data={
2024-04-18 09:04:25 +00:00
# Include all files under any directory within the 'freedata_server' package
'freedata_server': ['lib/**/*'], # Recursive include for all files in 'lib' and its subdirectories
2024-04-17 19:47:40 +00:00
},
)