-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
45 lines (37 loc) · 1.37 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
36
37
38
39
40
41
42
43
44
45
from __future__ import print_function
import os
import sys
from setuptools import find_packages, setup
ver_file = os.path.join('mplearn', '_version.py')
with open(ver_file) as f:
exec(f.read())
DISTNAME = 'minipatch-learning'
DESCRIPTION = 'A library for minipatch learning methods.'
AUTHOR = 'T. Yao'
URL = 'https://github.com/DataSlingers/minipatch-learning'
LICENSE = 'MIT'
DOWNLOAD_URL = 'https://github.com/DataSlingers/minipatch-learning'
VERSION = __version__
CLASSIFIERS = ['Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved',
'Programming Language :: Python',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Operating System :: MacOS',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8']
with open('requirements.txt') as f:
INSTALL_REQUIRES = [l.strip() for l in f.readlines() if l]
setup(name=DISTNAME,
author=AUTHOR,
description=DESCRIPTION,
license=LICENSE,
url=URL,
version=VERSION,
download_url=DOWNLOAD_URL,
classifiers=CLASSIFIERS,
packages=find_packages(),
install_requires=INSTALL_REQUIRES)