Skip to content

Commit

Permalink
push to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
geohot committed Nov 25, 2023
1 parent e724286 commit a16d770
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
build
dist
gpuctypes.egg-info
5 changes: 5 additions & 0 deletions push_pypi.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash -e
rm -rf build dist
python3 setup.py sdist bdist_wheel
twine upload dist/*

11 changes: 11 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env python3
from setuptools import setup
setup(name='gpuctypes',
version='0.1.0',
description='ctypes wrappers for HIP, CUDA, and OpenCL',
author='George Hotz',
license='MIT',
packages = ['gpuctypes'],
python_requires='>=3.8',
include_package_data=True)

0 comments on commit a16d770

Please sign in to comment.