-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
41 lines (38 loc) · 1.41 KB
/
setup.py
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
37
38
39
40
from setuptools import setup, find_packages
# Read the contents of your README file
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="gadgetconfig", # Replace with your project's name
version=open('VERSION.txt').read().strip(),
author="Stuart Lynne",
author_email="[email protected]",
description="Command line and GUI Gadget Config for Raspberry Pi",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yourusername/myproject", # Replace with your project's URL
packages=find_packages(), # Automatically find all packages and sub-packages
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License", # Replace with your chosen license
"Operating System :: OS Independent",
],
python_requires='>=3.6', # Specify your Python version requirement
install_requires=[
"argparse",
"commentjson",
"prettyjson",
"scandir",
"inotify",
"termcolor",
"python-magic",
"gadgetconfig"
],
entry_points={
'console_scripts': [
'gadgetconfig = gadgetconfig.gadgetconfig.gadgetconfig:main',
'gadgetapp = gadgetconfig.gadgetapp.gadgetapp:main',
'sysfstree = gadgetconfig.sysfstree.sysfstree:main',
],
},
)