-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
72 lines (66 loc) · 1.51 KB
/
setup.py
File metadata and controls
72 lines (66 loc) · 1.51 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
"""
Setup script for diffusionjax.
This setup is required or else
>> ModuleNotFoundError: No module named 'diffusionjax'
will occur.
"""
from setuptools import setup, find_packages
import pathlib
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
# The text of the LICENSE file
LICENSE = (HERE / "LICENSE.rst").read_text()
setup(
name="diffusionjax",
# python_requires=">=3.8",
description="diffusionjax is a simple and accessible diffusion models package in JAX",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/bb515/diffusionjax",
author="Benjamin Boys and Jakiw Pidstrigach",
license="MIT",
license_file=LICENSE,
packages=find_packages(exclude=["*.test"]),
install_requires=[
"numpy",
"scipy",
"matplotlib",
"flax",
"ml_collections",
"tqdm",
"absl-py",
"wandb",
],
extras_require={
'linting': [
"flake8",
"pylint",
"mypy",
"typing-extensions",
"pre-commit",
"ruff",
'jaxtyping',
],
'testing': [
"optax",
"orbax-checkpoint",
"torch",
"pytest",
"pytest-xdist",
"pytest-cov",
"coveralls",
"jax>=0.4.1",
"jaxlib>=0.4.1",
"setuptools_scm[toml]",
"setuptools_scm_git_archive",
],
'examples': [
"optax",
"orbax-checkpoint",
"torch",
"mlkernels",
],
},
include_package_data=True)