-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
27 lines (24 loc) · 808 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
import re
from setuptools import setup
def readme():
with open("README.md") as f:
return f.read()
# Extract the version number from the package's __init__.py file
with open("pyhip/__init__.py") as fp:
match = re.search(r"__version__\s*=\s*['\"]([^'\"]+)['\"]", fp.read())
version = match.group(1)
setup(
name='pyhip-interface',
version=version,
author='Jatin Chaudhary',
description='Python Interface to HIP and hiprtc Library',
packages=['pyhip'],
py_modules=['hip', 'hiprtc'],
keywords='HIP GPU parallel computing scientific computing Python wrapper',
author_email='[email protected]',
project_urls={
"Source": "https://github.com/jatinx/PyHIP"
},
long_description=readme(),
long_description_content_type='text/markdown',
)