-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (48 loc) · 1.88 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/python3.10
import os
from setuptools import setup
'''
setup function to be run when creating packages
command to be typed in:
python setup.py sdist
python setup.py bdist_wheel
'''
# ATTENTION! Wheel file needed, depending on environment
NAME = "RaspiRoommanager"
DOMAIN_NAME = "sziller.eu/"
PROJECT_PATH = "Projects/"
GEN_PACKAGES_PATH = PROJECT_PATH + "001_GeneralAssistance/GeneralCoding/Python/general_package_development/"
RPI_PACKAGES_PATH = PROJECT_PATH + "900_Raspberry/"
HAT_PACKAGES_PATH = RPI_PACKAGES_PATH + "SenseHat/"
INSTALL_REQUIRES = [
"pytest",
"sqlalchemy",
"python-dotenv",
"sensehat_led_clock @ http://{}{}sensehat_led_clock/dist/sensehat_led_clock-0.0.0-py3-none-any.whl"
.format(DOMAIN_NAME, HAT_PACKAGES_PATH),
"sensehat_led_display @ http://{}{}sensehat_led_display/dist/sensehat_led_display-0.0.0-py3-none-any.whl"
.format(DOMAIN_NAME, HAT_PACKAGES_PATH),
"sensehat_sensors @ http://{}{}sensehat_sensors/dist/sensehat_sensors-0.0.0-py3-none-any.whl"
.format(DOMAIN_NAME, HAT_PACKAGES_PATH)]
# 'ExampleRepo @ git+ssh://git@github.com/example_org/ExampleRepo.git'
print("--" + "-"*30 + "--",)
print("- {:^30} -".format(NAME))
print("--" + "-"*30 + "--",)
print("- {:^30} -".format("INSTALL_REQUIRES"))
print("--" + "-"*30 + "--",)
for _ in INSTALL_REQUIRES:
print(_)
print("--" + "-"*30 + "--")
setup(
name=NAME, # package name, used at pip or tar.
version='0.0.0', # version Nr.... whatever
packages=["engine_RoomManager"], # string list of packages to be translated
include_package_data=True,
url='', # if url is used at all
license='', # ...
author='sziller', # well obvious
author_email='sziller@gmail.com', # well obvious
description='RasPi based room manager engine-module', # well obvious
install_requires=INSTALL_REQUIRES,
dependency_links=[], # if dependent on external projects
)