forked from juaml/julearn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
61 lines (53 loc) · 1.99 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Authors: Federico Raimondo <f.raimondo@fz-juelich.de>
# Sami Hamdan <s.hamdan@fz-juelich.de>
# License: AGPL
import setuptools
with open('README.md', 'r') as fh:
long_description = fh.read()
def _getversion():
from setuptools_scm.version import get_local_node_and_date, \
simplified_semver_version
def clean_scheme(version):
print(version)
return get_local_node_and_date(version) if version.dirty else ""
return {
'version_scheme': simplified_semver_version,
'local_scheme': clean_scheme,
'write_to': 'julearn/_version.py',
'write_to_template': "__version__ = '{version}'\n"}
DOWNLOAD_URL = 'https://github.com/juaml/julearn/'
URL = 'https://juaml.github.io/julearn'
setuptools.setup(
name='julearn',
author='Applied Machine Learning',
author_email='sami.hamdan@fz-juelich.de',
description='FZJ AML Library ',
long_description=long_description,
long_description_content_type='text/markdown',
url=URL,
download_url=DOWNLOAD_URL,
packages=setuptools.find_packages(),
zip_safe=False,
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 :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS',
'Programming Language :: Python :: 3'],
project_urls={
'Documentation': URL,
'Source': DOWNLOAD_URL,
'Tracker': f'{DOWNLOAD_URL}issues/',
},
install_requires=['numpy>=1.19.1',
'pandas>=1.1.2',
'scikit-learn>=0.23.2'],
python_requires='>=3.7',
use_scm_version=_getversion,
setup_requires=['setuptools_scm'],
)