use installable shared lib for shared code
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
Install shared libs via
|
||||
* To have life changes: `python setup.py develop`
|
||||
* To install properly: `python setup.py install`
|
||||
|
||||
Create installable package via `python setup.py sdist`
|
||||
BIN
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,10 @@
|
||||
Metadata-Version: 1.0
|
||||
Name: dse-shared-libs
|
||||
Version: 1
|
||||
Summary: UNKNOWN
|
||||
Home-page: UNKNOWN
|
||||
Author: UNKNOWN
|
||||
Author-email: UNKNOWN
|
||||
License: BSD License
|
||||
Description: UNKNOWN
|
||||
Platform: UNKNOWN
|
||||
@@ -0,0 +1,11 @@
|
||||
setup.py
|
||||
dse_shared_libs/__init__.py
|
||||
dse_shared_libs/daf.py
|
||||
dse_shared_libs/message_broker_wrapper.py
|
||||
dse_shared_libs/target_velocity.py
|
||||
dse_shared_libs/traffic_light_color.py
|
||||
dse_shared_libs/traffic_light_state.py
|
||||
dse_shared_libs.egg-info/PKG-INFO
|
||||
dse_shared_libs.egg-info/SOURCES.txt
|
||||
dse_shared_libs.egg-info/dependency_links.txt
|
||||
dse_shared_libs.egg-info/top_level.txt
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
dse_shared_libs
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
from dataclasses import dataclass
|
||||
from datetime import datetime
|
||||
|
||||
from shared.traffic_light_color import TrafficLightColor
|
||||
from dse_shared_libs.traffic_light_color import TrafficLightColor
|
||||
|
||||
|
||||
@dataclass
|
||||
@@ -0,0 +1,8 @@
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
setup(name='dse-shared-libs',
|
||||
version=1,
|
||||
packages=find_packages(),
|
||||
include_package_data=True,
|
||||
license='BSD License', # example license
|
||||
)
|
||||
Reference in New Issue
Block a user