-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (27 loc) · 703 Bytes
/
setup.py
File metadata and controls
30 lines (27 loc) · 703 Bytes
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
28
29
30
from setuptools import setup, Extension
from os.path import dirname, abspath
DIR = dirname(abspath(__file__))
yahdlc = Extension(
'yahdlc',
sources = [
DIR + '/src/python4yahdlc.c',
DIR + '/lib/fcs16.c',
DIR + '/lib/yahdlc.c'
],
include_dirs = [
DIR + '/include/'
],
)
setup(
name = 'python4yahdlc',
version = '1.0.0',
description = 'Python bindings for the yahdlc library',
license = 'GPLv3',
keywords = 'hdlc yahdlc bindings',
author = 'Paul-Emmanuel Raoul',
author_email = 'skyper@skyplabs.net',
url = 'https://github.com/SkypLabs/python4yahdlc',
download_url = 'https://github.com/SkypLabs/python4yahdlc/archive/v1.0.0.zip',
ext_modules = [yahdlc],
test_suite = 'test',
)