File: setup.py

package info (click to toggle)
yuma123 2.14-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 22,436 kB
  • sloc: ansic: 185,144; cpp: 10,968; python: 7,990; sh: 2,676; makefile: 1,175; xml: 807; exp: 776; perl: 70
file content (27 lines) | stat: -rw-r--r-- 1,014 bytes parent folder | download
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
import sys

if sys.version_info < (3,10):
    from distutils.core import setup,Extension
else:
    from setuptools import setup,Extension

yuma = Extension('yuma',
                   sources = ['yuma.c'],
                   extra_compile_args=['-I/usr/include/yuma/platform', '-I/usr/include/yuma/ncx' , '-I/usr/include/yuma/agt'], extra_link_args=['-lyumancx', '-lyumaagt'])
yangrpc = Extension('yangrpc',
                   sources = ['yangrpc.c'],
                   extra_compile_args=['-I/usr/include/yuma/platform', '-I/usr/include/yuma/ncx' , '-I/usr/include/yuma/yangrpc'], extra_link_args=['-lyumancx', '-lyangrpc'])

setup(name='yangcli',
	  version='0.0.1',
	  description="Python yangcli",
	  author="Vladimir Vassilev",
	  author_email="vladimir@lightside-instruments.com",
	  url="http://yuma123.org/wiki",
	  packages=["yangcli"],
	  license="Apache License 2.0",
	  platforms=["Posix; OS X; Windows"],
	  #classifiers=[]
	  #scripts=['scripts/myscript']
          ext_modules=[yuma, yangrpc],
	  )