2018-11-19 13:29:47 -08:00
|
|
|
# Copyright 2018 Google LLC
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
2018-12-11 15:45:56 -08:00
|
|
|
from setuptools import setup, find_packages
|
2019-02-13 20:02:14 -08:00
|
|
|
|
2019-08-04 12:12:53 -04:00
|
|
|
__version__ = None
|
|
|
|
|
2019-02-13 20:02:14 -08:00
|
|
|
with open('jax/version.py') as f:
|
|
|
|
exec(f.read(), globals())
|
2018-11-18 15:17:32 -08:00
|
|
|
|
|
|
|
setup(
|
|
|
|
name='jax',
|
2019-02-13 20:02:14 -08:00
|
|
|
version=__version__,
|
2018-11-18 15:17:32 -08:00
|
|
|
description='Differentiate, compile, and transform Numpy code.',
|
|
|
|
author='JAX team',
|
2018-12-06 21:35:03 -05:00
|
|
|
author_email='jax-dev@google.com',
|
2019-04-06 14:16:22 -07:00
|
|
|
packages=find_packages(exclude=["examples"]),
|
2020-03-18 10:54:28 -04:00
|
|
|
python_requires='>=3.6',
|
2019-01-15 20:14:19 -05:00
|
|
|
install_requires=[
|
2020-06-24 15:19:00 -04:00
|
|
|
'numpy >=1.12', 'absl-py', 'opt_einsum'
|
2019-01-15 20:14:19 -05:00
|
|
|
],
|
2018-11-18 15:17:32 -08:00
|
|
|
url='https://github.com/google/jax',
|
|
|
|
license='Apache-2.0',
|
|
|
|
)
|