-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
33 lines (30 loc) · 927 Bytes
/
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
from setuptools import setup, find_packages
VERSION = os.environ.get('GITHUB_REF', 'v0.0.0-alpha1')
if VERSION.startswith('refs/tags'):
VERSION = VERSION.split('/')[-1]
with open('README.md') as f:
README = f.read()
setup(
name='torch-sgld',
description='SGLD as PyTorch Optimizer',
long_description=README,
long_description_content_type='text/markdown',
version=VERSION,
license='Apache License 2.0',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
packages=find_packages(exclude=[
'scripts',
'scripts.*',
'experiments',
'experiments.*',
'notebooks',
'notebooks.*',
]),
install_requires=['torch'],
extras_require={})