source: ogClient-Git/setup.py @ ffbcf7e

Last change on this file since ffbcf7e was 118572c, checked in by Roberto Hueso Gómez <rhueso@…>, 5 years ago

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

  • Property mode set to 100644
File size: 442 bytes
Line 
1from distutils.core import setup
2
3setup(name='ogclient',
4      version='1.0',
5      description='Client for the OpenGnsys ecosystem',
6      author='Soleta OpenGnsys Support Team',
7      author_email='soporte-og@soleta.eu',
8      url='https://github.com/opengnsys/ogClient',
9      packages=['src', 'src.linux', 'src.virtual'],
10      scripts=['main.py'],
11      data_files=[('cfg', ['cfg/ogclient.json']),
12                  ('', ['LICENSE'])]
13)
Note: See TracBrowser for help on using the repository browser.