forked from JuliaPy/PythonCall.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCore.jl
More file actions
48 lines (42 loc) · 844 Bytes
/
Core.jl
File metadata and controls
48 lines (42 loc) · 844 Bytes
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
"""
module PythonCall.Core
Defines the `Py` type and directly related functions.
"""
module Core
const VERSION = v"0.9.25"
const ROOT_DIR = dirname(dirname(@__DIR__))
using ..PythonCall: PythonCall # needed for docstring cross-refs
using ..C: C
using ..GC: GC
using ..Utils: Utils, Lockable
using Base: @propagate_inbounds, @kwdef
using Dates:
Date,
Time,
DateTime,
year,
month,
day,
hour,
minute,
second,
millisecond,
microsecond,
nanosecond
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