This repository was archived by the owner on Sep 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathsetup.py
More file actions
54 lines (49 loc) · 1.58 KB
/
setup.py
File metadata and controls
54 lines (49 loc) · 1.58 KB
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
# Copyright 2018 Google, Inc.,
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from setuptools import setup, find_packages
import unittest
def tests():
"""Used by test_suite below."""
return unittest.TestLoader().discover(
"vaeseq/", "*_test.py", top_level_dir=".")
setup(
name="vae-seq",
author="Yury Sulsky",
author_email="yury.sulsky@gmail.com",
version="0.1",
description="Generative Sequence Models",
long_description=open("README.md").read(),
packages=find_packages(),
install_requires=[
"dm-sonnet>=1.10",
"future>=0.16.0",
"gym>=0.9.3",
"numpy>=1.12.0",
"pretty-midi>=0.2.8",
"scipy>=0.16.0",
"six>=1.0.0",
],
extras_require={
"tf": ["tensorflow>=1.4.0"],
"tf_gpu": ["tensorflow-gpu>=1.4.0"],
},
entry_points={
"console_scripts": [
"vaeseq-text = vaeseq.examples.text.text:main",
"vaeseq-midi = vaeseq.examples.midi.midi:main",
"vaeseq-play = vaeseq.examples.play.play:main",
],
},
test_suite="setup.tests",
)