This repository was archived by the owner on Jan 13, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
62 lines (50 loc) · 1.62 KB
/
setup.py
File metadata and controls
62 lines (50 loc) · 1.62 KB
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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages, Extension
from codecs import open
from os.path import abspath
pkg_name = "mood.mqueue"
pkg_version = "2.0.0"
pkg_desc = "Python POSIX message queues interface (Linux only)"
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.mqueue",
download_url="https://github.com/lekma/mood.mqueue/releases",
project_urls={
"Bug Tracker": "https://github.com/lekma/mood.mqueue/issues"
},
author="Malek Hadj-Ali",
author_email="lekmalek@gmail.com",
license="The Unlicense (Unlicense)",
platforms=["Linux"],
keywords="linux mqueue",
setup_requires = ["setuptools>=24.2.0"],
python_requires="~=3.10",
packages=find_packages(),
namespace_packages=["mood"],
zip_safe=False,
ext_package="mood",
ext_modules=[
Extension(
"mqueue",
[
"src/helpers/helpers.c",
"src/mqueue.c"
],
define_macros=[PKG_VERSION],
libraries=["rt"]
)
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: The Unlicense (Unlicense)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython"
]
)