-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·33 lines (30 loc) · 1.1 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
#!/usr/bin/env python
import os
from setuptools import setup
from setuptools import find_packages
# User-friendly description from README.md
current_directory = os.path.dirname(os.path.abspath(__file__))
try:
with open(os.path.join(current_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
except Exception:
long_description = ''
setup(name='orth_optim',
author='Mark Tuddenham',
author_email='[email protected]',
version='1.0.0',
description='Add option to orthogonalise gradients to pytorch optimisers',
long_description=long_description,
long_description_context_type='text/markdown',
license='MIT',
url='https://github.com/MarkTuddenham/Orthogonal-Optimisers',
keywords=['optimisation', 'optimzation', 'pytorch'],
packages=find_packages(where='src'),
package_dir={"": "src"},
install_requires=['torch'],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
)