-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
47 lines (42 loc) · 1.44 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
import os
from setuptools import setup, find_packages
directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
extra_requires = {
'cupy': ["cupy"],
'cuda12x': ["cupy-cuda12x"],
'cuda11x': ["cupy-cuda11x"],
'cuda111': ["cupy-cuda111"],
'cuda110': ["cupy-cuda110"],
'cuda102': ["cupy-cuda102"],
'rocm-5-0': ["cupy-rocm-5-0"],
'rocm-4-3': ["cupy-rocm-4-3"],
'repl': ["colorama==0.4.6"],
'web': ["aiohttp==3.9.4"],
'db': ["pandas==2.2.2","duckdb==1.0.0"],
'ws': ["websockets==12.0"],
}
# full feature set extras
extra_requires['full'] = extra_requires['repl'] + extra_requires['web'] + extra_requires['db'] + extra_requires['ws']
setup(
name='klongpy',
packages=find_packages(),
version='0.6.8',
description='High-Performance Klong array language with rich Python integration.',
author='Brian Guarraci',
license='MIT',
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License"
],
install_requires=['numpy~=1.26.4'],
python_requires='<3.13,>=3.9',
extras_require=extra_requires,
include_package_data=True,
zip_safe=False,
test_suite='tests',
scripts=['scripts/kgpy']
)