5 # |
5 # |
6 |
6 |
7 """ |
7 """ |
8 **Jasy - Web Tooling Framework** |
8 **Jasy - Web Tooling Framework** |
9 |
9 |
10 Jasy is a powerful Python3-based tooling framework. |
10 Jasy is a powerful Python3-based tooling framework. |
11 It makes it easy to manage heavy web projects. |
11 It makes it easy to manage heavy web projects. |
12 Its main goal is to offer an API which could be used by developers to write |
12 Its main goal is to offer an API which could be used by developers to write their custom build/deployment scripts. |
13 their custom build/deployment scripts. |
|
14 """ |
13 """ |
15 |
14 |
16 from __future__ import unicode_literals |
15 from __future__ import unicode_literals |
17 |
16 |
18 __version__ = "1.5-beta5" |
17 __version__ = "1.5-beta6" |
19 __author__ = "Sebastian Werner <info@sebastian-werner.net>" |
18 __author__ = "Sebastian Werner <info@sebastian-werner.net>" |
|
19 |
|
20 import os.path |
|
21 datadir = os.path.join(os.path.dirname(__file__), "data") |
|
22 |
|
23 def info(): |
|
24 """ |
|
25 Prints information about Jasy to the console. |
|
26 """ |
|
27 |
|
28 import jasy.core.Console as Console |
|
29 |
|
30 print("Jasy %s is a powerful web tooling framework" % __version__) |
|
31 print("Visit %s for details." % Console.colorize("https://github.com/sebastian-software/jasy", "underline")) |
|
32 print() |
|
33 |
|
34 |
|
35 class UserError(Exception): |
|
36 """ |
|
37 Standard Jasy error class raised whenever something happens which the system understands (somehow excepected) |
|
38 """ |
|
39 pass |