-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (30 loc) · 1.12 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
import os
from setuptools import setup, Extension
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(name="list_reserve",
version="0.3.2",
description="Python builtin list memory allocation library",
long_description=read("README.md"),
long_description_content_type="text/markdown",
packages=["list_reserve"],
package_data={"list_reserve": ["py.typed", "__init__.pyi"]},
ext_modules=[
Extension("list_reserve", ["src/list_reserve.c"])
],
url="https://github.com/ChanTsune/list-reserve",
author="ChanTsune",
author_email="yshegou@gmail.com",
license="MIT",
keywords="list extension memory reserve capacity",
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'License :: OSI Approved :: MIT License',
],
)