-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·26 lines (21 loc) · 871 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
"""Artist-listener models package setup file."""
from setuptools import find_packages
from setuptools import setup
def read_requirements(path):
"""Read requirements from file."""
requirements = []
with open(path, 'r') as fd:
requirements = [
req.strip() for req in fd.readlines() if not req.startswith('-')]
return requirements
setup(
name='artist_listener_models',
version='1.0',
description='Package for creating artist-listener models',
packages=find_packages(),
install_requires=list(read_requirements('requirements.txt')),
entry_points=dict(
console_scripts=[
'artist_listener_train = artist_listener_models.train:main',
'artist_listener_insights = artist_listener_models.insights:main',
'artist_listener_upload = artist_listener_models.upload:main']))