-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (26 loc) · 828 Bytes
/
setup.py
File metadata and controls
29 lines (26 loc) · 828 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
from distutils.core import setup, Extension
with open("README.md", "r") as f:
long_description = f.read()
module = Extension("recuests", sources = [
"src/client.c",
"src/callback.c",
"src/hashmap.c",
"src/wrappers.c",
"src/module.c",
], library_dirs=["/usr/lib"], libraries = ["curl"])
setup(
name = "recuests",
version = "1.0",
url="https://github.com/epsilonr/recuests",
author="epsilonr",
description = "Python bindings for https://github.com/epsilonr/httpclient",
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3',
ext_modules = [module]
)