-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
35 lines (31 loc) · 1.08 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
import setuptools
with open("README.md", "r") as fh:
LONG_DESCRIPTION = fh.read()
with open('requirements.txt') as fid:
INSTALL_REQUIRES = [line.strip() for line in fid.readlines() if line]
# get __version__ from fosi/version.py
_dct = {}
with open('fosi/version.py') as f:
exec(f.read(), _dct)
VERSION = _dct['__version__']
setuptools.setup(
name='fosi',
version=VERSION,
license='Apache 2.0',
author="Hadar Sivan",
author_email="[email protected]",
description="FOSI library for hybrid first and second order optimization.",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
install_requires=INSTALL_REQUIRES,
url='https://github.com/hsivan/fosi',
packages=setuptools.find_packages(include=['fosi', 'fosi.*']),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
dependency_links=[
"https://storage.googleapis.com/jax-releases/jax_cuda_releases.html",
],
)