-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsetup.py
35 lines (29 loc) · 952 Bytes
/
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
from Cython.Build import cythonize
from setuptools import find_packages, setup, Extension
import pathlib
HERE = pathlib.Path(__file__).parent
README = (HERE / "README.md").read_text()
extensions = [
Extension(
name="UE4Parse.Assets.Exports.Textures.utils",
sources=["UE4Parse/Assets/Exports/Textures/utils.pyx"],
cython_directives={'language_level': "3"}
)
]
extensions = cythonize(extensions)
setup(
name="UE4Parse",
version="0.0.2",
description="ue4 asset parser",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/MinshuG/UE4Parse",
author="MinshuG",
classifiers=[
"Programming Language :: Python :: 3",
'License :: OSI Approved :: MIT License'
],
install_requires=["pycryptodome", "lz4", "pyUsmap", "pillow", "quicktex", "astc_decomp_faster"],
packages=find_packages(),
ext_modules=extensions,
)