all the python scripts are for python2, and fedora31 requires to be specific
[vsys-scripts.git] / slice-context / setup.py
1 #!/usr/bin/env python
2
3 from distutils.core import setup, Extension
4 import sys
5 sys.path.append("src")
6 import vsys
7
8 ext = Extension('_vsys', sources = ['src/vsys.c'])
9
10 setup(  name        = 'python-vsys',
11         version     = '0.1',
12         description = 'Python functions to wrap PlanetLab vsys API',
13         long_description = vsys.__doc__,
14         author      = 'Alina Quereilhac',
15         author_email = 'alina.quereilhac@inria.fr',
16         url         = 'http://nepi.inria.fr/code/python-vsys',
17         platforms   = 'Linux',
18         package_dir = {'': 'src'},
19         ext_modules = [ext],
20         py_modules  = ['vsys'])