-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
33 lines (31 loc) · 1.51 KB
/
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
24
25
26
27
28
29
30
31
32
33
from setuptools import setup, Extension
from Cython.Build import cythonize
from Cython.Distutils import build_ext
libdogecoin_extension = [Extension(
name= "libdogecoin",
language= "c",
sources= ["libdogecoin.pyx"],
include_dirs= ["include"],
library_dirs = ["lib"],
extra_objects= ["lib/libdogecoin.a"],
)]
setup(
name= "libdogecoin",
version= "0.1.0.post1",
author= "Jackie McAninch",
author_email= "[email protected]",
maintainer= "bluezr",
maintainer_email= "[email protected]",
description= "Python interface for the libdogecoin C library",
long_description= open("README.md", "r").read(),
long_description_content_type= "text/markdown",
license= "AGPL-3.0",
url= "https://github.com/dogecoinfoundation/libdogecoin",
classifiers= ["Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux"],
cmdclass = {'build_ext': build_ext},
ext_modules= cythonize(libdogecoin_extension, language_level = "3"),
include_package_data= True,
packages= ['tests'],
)