-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (33 loc) · 1.29 KB
/
setup.py
File metadata and controls
36 lines (33 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from setuptools import setup, find_packages
import freedata_server.constants as constants
# Reading requirements.txt for dependencies
with open('requirements.txt') as f:
required = f.read().splitlines()
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name='freedata',
version=constants.MODEM_VERSION,
packages=find_packages(where='.'),
package_dir={'': '.'},
install_requires=required,
python_requires='>=3.9',
author='DJ2LS',
author_email='dj2ls@proton.me',
description='INFO: THIS PACKAGE IS NOT YET WORKING - PLEASE USE THE OFFICIAL SCRIPT BASED SETUP',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/DJ2LS/FreeDATA',
license='GPL3.0',
entry_points={
'console_scripts': [
'freedata=freedata_server.server:main', # Points to the main() function in server.py
],
},
include_package_data=True, # Ensure non-python files are included if specified
package_data={
# Include all files under any directory within the 'freedata_server' package
'freedata_server': ['lib/**/*'], # Recursive include for all files in 'lib' and its subdirectories
'freedata_gui': ['dist/**/*'], # gui folder
},
)