-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
42 lines (35 loc) · 946 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
34
35
36
37
38
39
40
41
42
import setuptools
import momo
with open("README.md", "r", encoding="utf-8") as fh:
LONG_DESCRIPTION = fh.read()
# Package meta-data.
NAME = 'momo-opt'
DESCRIPTION = 'MoMo: Momentum Models for Adaptive Learning Rates'
URL = 'https://github.com/fabian-sp/MoMo'
EMAIL = '[email protected]'
AUTHOR = 'Fabian Schaipp'
REQUIRES_PYTHON = '>=3.8.0'
VERSION = momo.__version__
REQUIRED = [
"torch",
"numpy",
]
EXTRAS = {}
setuptools.setup(
name=NAME,
version=VERSION,
author=AUTHOR,
author_email=EMAIL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url=URL,
packages=setuptools.find_packages(),
install_requires=REQUIRED,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=REQUIRES_PYTHON,
)