-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (34 loc) · 1.13 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
import os
from setuptools import find_packages
from setuptools import setup
folder = os.path.dirname(__file__)
version_path = os.path.join(folder, "pfg", "version.py")
__version__ = None
with open(version_path) as f:
exec(f.read(), globals())
readme_path = os.path.join(folder, "README.md")
readme_contents = ""
if os.path.exists(readme_path):
with open(readme_path) as fp:
readme_contents = fp.read().strip()
setup(
name="pfg",
version=__version__,
description="Preconditioned Funcional Gradient Flow for Sampling.",
author="Hanze Dong",
long_description=readme_contents,
long_description_content_type="text/markdown",
packages=find_packages(),
package_data={},
install_requires=[],
classifiers=[
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
requires_python=">=3.7",
)