-
Notifications
You must be signed in to change notification settings - Fork 67
/
Copy pathCore.jl
58 lines (52 loc) · 971 Bytes
/
Core.jl
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
55
56
57
58
"""
module PythonCall.Core
Defines the `Py` type and directly related functions.
"""
module Core
const VERSION = v"0.9.21"
const ROOT_DIR = dirname(dirname(@__DIR__))
using ..PythonCall: PythonCall # needed for docstring cross-refs
using ..C: C
using ..GC: GC
using ..Utils: Utils
using Base: @propagate_inbounds, @kwdef
using Dates:
Date,
Time,
DateTime,
year,
month,
day,
hour,
minute,
second,
millisecond,
microsecond,
nanosecond,
Day,
Hour,
Week,
Minute,
Second,
Millisecond,
Microsecond,
Period,
CompoundPeriod,
canonicalize
using MacroTools: MacroTools, @capture
using Markdown: Markdown
include("Py.jl")
include("err.jl")
include("config.jl")
include("consts.jl")
include("builtins.jl")
include("stdlib.jl")
include("juliacall.jl")
include("pyconst_macro.jl")
function __init__()
init_consts()
init_datetime()
init_stdlib()
init_juliacall()
end
end