-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
37 lines (35 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
35
36
37
from Cython.Build import cythonize
from setuptools import find_packages, setup
with open("requirements.txt", "r") as f:
requirements = list(map(str.strip, f.read().split("\n")))[:-1]
setup(
name="ez-a-sync",
packages=find_packages(),
use_scm_version={
"root": ".",
"relative_to": __file__,
"local_scheme": "no-local-version",
"version_scheme": "python-simplified-semver",
},
description="A library that makes it easy to define objects that can be used for both sync and async use cases.",
author="BobTheBuidler",
author_email="[email protected]",
url="https://github.com/BobTheBuidler/a-sync",
license="MIT",
install_requires=requirements,
setup_requires=["setuptools_scm", "cython"],
python_requires=">=3.8,<3.13",
package_data={
"a_sync": ["py.typed", "*.pxd", "**/*.pxd"],
},
include_package_data=True,
ext_modules=cythonize(
"a_sync/**/*.pyx",
compiler_directives={
"language_level": 3,
"embedsignature": True,
"linetrace": True,
},
),
zip_safe=False,
)