-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
44 lines (37 loc) · 1.42 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
from setuptools import setup
from pathlib import Path
_CURRENT_DIR = Path(__file__).parent
def _get_long_description():
return (_CURRENT_DIR / "README.md").read_text()
def _get_version():
with open(_CURRENT_DIR / 'dejax' / '__init__.py', 'r') as init_file:
for line in init_file:
if line.startswith('__version__') and '=' in line:
version = line[line.find('=') + 1:].strip(' \'"\n')
if version:
return version
raise ValueError('`__version__` not defined in `dejax/__init__.py`')
setup(
name='dejax',
version=_get_version(),
description='Accelerated replay buffers in JAX.',
long_description=_get_long_description(),
long_description_content_type="text/markdown",
url='https://github.com/hr0nix/dejax',
author='Boris Yangel',
author_email='[email protected]',
license='Apache License 2.0',
packages=['dejax'],
install_requires=['chex'],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)