File tree Expand file tree Collapse file tree 3 files changed +31
-5
lines changed Expand file tree Collapse file tree 3 files changed +31
-5
lines changed Original file line number Diff line number Diff line change 3
3
import click
4
4
import pprint
5
5
6
- from parse import parse_composition
6
+ from . parse import parse_composition
7
7
#from sample import make_simple_instrument
8
8
#from sample import make_advanced_instrument
9
9
10
- from assemble import assemble_verses
11
- from assemble import render_verses
10
+ from . assemble import assemble_verses
11
+ from . assemble import render_verses
12
12
13
- from sample import render_to_pydub
14
- from sample import play
13
+ from . sample import render_to_pydub
14
+ from . sample import play
15
15
16
16
@click .command ()
17
17
@click .option ('--bpm' , default = - 1 , help = 'base beats per minute' )
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python
2
+
3
+ from setuptools import setup
4
+
5
+ def read_requirements (name = 'requirements.txt' ):
6
+
7
+ with open (name , 'r' ) as fh :
8
+ requirements = [l .strip () for l in fh .readlines () if l .strip ()]
9
+
10
+ return requirements
11
+
12
+ setup (
13
+ name = 'asciidrumming' ,
14
+ version = '0.0.1' ,
15
+ description = 'Ascii-based (drum-)sequencer.' ,
16
+ url = 'http://github.com/isnok/asciidrumming' ,
17
+ author = 'Konstantin Martini' ,
18
+
19
+ license = 'None yet' ,
20
+ packages = ['asciidrumming' ],
21
+ zip_safe = False ,
22
+ install_requires = read_requirements (),
23
+ entry_points = {
24
+ 'console_scripts' : ['ascii_drummer=asciidrumming.drumming:main' ],
25
+ },
26
+ )
You can’t perform that action at this time.
0 commit comments