-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
23 lines (20 loc) · 952 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import setuptools
from distutils.core import setup, Extension
pysproto_module = Extension('pysproto',
sources = ["src/pysproto/python_sproto.c", "src/pysproto/sproto.c"])
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(name = "pysproto",
version = '0.1.7',
description = "python binding to sproto, a serialize library",
long_description = "Documentation and bug report: http://github.com/spin6lock/python-sproto",
author = "spin6lock",
author_email = "UNKNOWN",
package_dir = {"": "src"},
packages = setuptools.find_packages(where="src"),
package_data = {"pysproto": ["src/pysproto/msvcint.h", "src/pysproto/sproto.h"]},
python_requires = ">=3.6",
license = "MIT",
url = "http://github.com/spin6lock/python-sproto",
keywords = ["sproto", "serialization"],
ext_modules = [pysproto_module])