FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
datajoint-python/setup.py at master · christoph-blessing/datajoint-python · GitHub
christoph-blessing
datajoint-python
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
datajoint-python
/
setup.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
46 lines (39 loc) · 1.33 KB
Breadcrumbs
datajoint-python
/
setup.py
Copy path
File metadata and controls
46 lines (39 loc) · 1.33 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
#!/usr/bin/env python
from
setuptools
import
setup
,
find_packages
from
os
import
path
import
sys
min_py_version
=
(
3
,
7
)
if
sys
.
version_info
<
min_py_version
:
sys
.
exit
(
"DataJoint is only supported for Python {}.{} or higher"
.
format
(
*
min_py_version
)
)
here
=
path
.
abspath
(
path
.
dirname
(
__file__
))
long_description
=
(
"A relational data framework for scientific data pipelines with MySQL backend."
)
# read in version number into __version__
with
open
(
path
.
join
(
here
,
"datajoint"
,
"version.py"
))
as
f
:
exec
(
f
.
read
())
with
open
(
path
.
join
(
here
,
"requirements.txt"
))
as
f
:
requirements
=
[
line
.
split
(
"#"
,
1
)[
0
].
rstrip
()
for
line
in
f
.
readlines
()]
setup
(
name
=
"datajoint"
,
version
=
__version__
,
description
=
"A relational data pipeline framework."
,
long_description
=
long_description
,
author
=
"DataJoint Contributors"
,
author_email
=
"support@datajoint.com"
,
license
=
"GNU LGPL"
,
url
=
"https://datajoint.com"
,
keywords
=
[
"database"
,
"data pipelines"
,
"scientific computing"
,
"automated research workflows"
,
],
packages
=
find_packages
(
exclude
=
[
"contrib"
,
"docs"
,
"tests*"
]),
install_requires
=
requirements
,
python_requires
=
"~={}.{}"
.
format
(
*
min_py_version
),
setup_requires
=
[
"otumat"
],
# maybe remove due to conflicts?
pubkey_path
=
"./datajoint.pub"
,
)
Back
|
FazBrowse Home
|
New Git URL