-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
86 lines (73 loc) · 2.3 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# -*- coding: utf-8 -*-
#
# Copyright © 2022 Malek Hadj-Ali
# All rights reserved.
#
# This file is part of mood.
#
# mood is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3
# as published by the Free Software Foundation.
#
# mood is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with mood. If not, see <http://www.gnu.org/licenses/>.
#
from setuptools import setup, find_packages, Extension
from codecs import open
from os.path import abspath
pkg_name = "mood.ippc"
pkg_version = "1.6.0"
pkg_desc = "Python inter process procedure call"
PKG_VERSION = ("PKG_VERSION", "\"{0}\"".format(pkg_version))
setup(
name=pkg_name,
version=pkg_version,
description=pkg_desc,
long_description=open(abspath("README.txt"), encoding="utf-8").read(),
long_description_content_type="text",
url="https://github.com/lekma/mood.ippc",
download_url="https://github.com/lekma/mood.ippc/releases",
project_urls={
"Bug Tracker": "https://github.com/lekma/mood.ippc/issues"
},
author="Malek Hadj-Ali",
author_email="[email protected]",
license="GNU General Public License v3 (GPLv3)",
keywords="ippc",
setup_requires = ["setuptools>=24.2.0"],
python_requires="~=3.10",
install_requires=["mood.event>=1.6.0"],
packages=find_packages(),
namespace_packages=["mood"],
zip_safe=False,
ext_package="mood",
ext_modules=[
Extension(
"ippc.pack",
[
"src/helpers/helpers.c",
"src/pack.c"
],
define_macros=[PKG_VERSION]
),
Extension(
"ippc.sockets",
[
"src/helpers/helpers.c",
"src/sockets.c"
],
define_macros=[PKG_VERSION]
)
],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3.10"
]
)