-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (28 loc) · 1.2 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
import os
import warnings
from setuptools import setup, find_packages
description = "Bayian Neural Network for TensorFlow"
README = os.path.join(os.path.abspath(os.path.dirname(__file__)),'README.md')
if os.path.exists(README):
with open(README,encoding='utf-8') as f:
long_description = f.read()
long_description_content_type='text/markdown'
else:
warnings.warn("No README.md")
long_description = description
long_description_content_type='text/plain'
setup(name="b4tf",
author="Hiroyuki Yamada",
version="1.1.2",
description=description,
install_requires=["tensorflow>=2","tensorflow_probability"],
url="https://gitlab.com/ymd_h/b4tf",
packages=find_packages(),
classifiers = ["Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Artificial Intelligence"],
long_description=long_description,
long_description_content_type=long_description_content_type)