Skip to content

Commit

Permalink
Make new wheel speicify they are arch dependent.
Browse files Browse the repository at this point in the history
This is manually merging #79 since our current setup doesn't support merging external PRs.

Also bump version to 0.4.2.

PiperOrigin-RevId: 571342678
  • Loading branch information
Marvin182 authored and copybara-github committed Oct 6, 2023
1 parent 2ad7a1d commit d262ef9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,24 @@

from setuptools import find_packages
from setuptools import setup
from setuptools.dist import Distribution

REQUIRED_PACKAGES = [
'absl-py',
'etils[epath]',
]


class BinaryDistribution(Distribution):
"""This class makes 'bdist_wheel' include an ABI tag on the wheel."""

def has_ext_modules(self):
return True


setup(
name='array_record',
version='0.4.1',
version='0.4.2',
description='A file format that achieves a new frontier of IO efficiency',
author='ArrayRecord team',
author_email='[email protected]',
Expand All @@ -27,4 +36,5 @@
'Programming Language :: Python :: 3.11',
],
zip_safe=False,
distclass=BinaryDistribution,
)

0 comments on commit d262ef9

Please sign in to comment.