summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-06-11 14:05:51 +0200
committerRoberto Hueso Gómez <rhueso@soleta.eu>2020-06-16 10:22:30 +0200
commit118572c3b6fc5a1f2ad0ab1cd46fe5e00bf283a7 (patch)
tree7b753f3e42df1c11c41a8f200b84c7cc2f043e96 /setup.py
parent93bbc39d4bcafbf7783a5aa692a96209962ea392 (diff)
Add setup.py installation script
This script can be useful to install ogclient on distributions that do not have an already built ogclient package. It is necessary to install ogclient in the right path, so the command you have to use looks similar to: python3 setup.py install --prefix=/opt/opengnsys/ogclient --install-lib=/opt/opengnsys/ogclient --install-script=/opt/opengnsys/ogclient
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..5d5330d
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,13 @@
+from distutils.core import setup
+
+setup(name='ogclient',
+ version='1.0',
+ description='Client for the OpenGnsys ecosystem',
+ author='Soleta OpenGnsys Support Team',
+ author_email='soporte-og@soleta.eu',
+ url='https://github.com/opengnsys/ogClient',
+ packages=['src', 'src.linux', 'src.virtual'],
+ scripts=['main.py'],
+ data_files=[('cfg', ['cfg/ogclient.json']),
+ ('', ['LICENSE'])]
+)