projects
/
xnet
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Add datasets module.
[xnet]
/
xnet
/
datasets
/
__init__.py
1
# -*- coding: utf-8 -*-
2
3
import
datetime
4
5
from
django
.
utils
import
timezone
6
7
8
class
BaseSetup
(
object
):
9
10
requires
= ()
11
12
def
__init__
(
self
,
verbosity
=
0
,
now
=
None
):
13
self
.
verbosity
=
verbosity
14
if
now
is None
:
15
now
=
timezone
.
now
()
16
self
.
now
=
now
17
18
def
run
(
self
):
19
raise
NotImplementedError