-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (34 loc) · 1010 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
from pathlib import Path
from setuptools import setup, find_packages
DESCRIPTION = 'A yaml-based configuration for reproducible python experiments.'
VERSION = '1.0.4'
MAINTAINER = 'Avishai Halev'
MAINTAINER_EMAIL = '[email protected]'
LICENSE = 'MIT License'
PROJECT_URLS = {
'Source Code': f'https://github.com/ahalev/experiment-config/tree/v{VERSION}'
}
EXTRAS = {
'dev': ['numpy', 'pytest'],
'pandas': ['pandas'],
}
EXTRAS['all'] = sum(EXTRAS.values(), [])
setup(
name='experiment-config',
package_dir={'': 'src'},
packages=find_packages('src'),
python_requires='>=3.6',
version=VERSION,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
project_urls=PROJECT_URLS,
description=DESCRIPTION,
license=LICENSE,
long_description=(Path(__file__).parent / 'README.md').read_text(),
long_description_content_type='text/markdown',
include_package_data=True,
install_requires=[
'pyyaml'
],
extras_require=EXTRAS
)