Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
KM3NeT TestData
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BoukeJisse Jung
KM3NeT TestData
Commits
8422a7b6
Commit
8422a7b6
authored
4 years ago
by
Tamas Gal
Browse files
Options
Downloads
Patches
Plain Diff
Initial commit
parents
No related branches found
Branches containing commit
Tags
v0.1.0
Tags containing commit
No related merge requests found
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
requirements-dev.txt
+16
-0
16 additions, 0 deletions
requirements-dev.txt
requirements.txt
+1
-0
1 addition, 0 deletions
requirements.txt
setup.py
+43
-0
43 additions, 0 deletions
setup.py
tests/test_core.py
+10
-0
10 additions, 0 deletions
tests/test_core.py
with
70 additions
and
0 deletions
requirements-dev.txt
0 → 100644
+
16
−
0
View file @
8422a7b6
matplotlib
memory_profiler
numpydoc
pillow
pytest
pytest-cov
pytest-flake8
pytest-pylint
pytest-watch
sphinx
sphinx-autoapi
sphinx-gallery>=0.1.12
sphinx_rtd_theme
sphinxcontrib-versioning
yapf>=0.30.0
wheel
This diff is collapsed.
Click to expand it.
requirements.txt
0 → 100644
+
1
−
0
View file @
8422a7b6
setuptools_scm
This diff is collapsed.
Click to expand it.
setup.py
0 → 100644
+
43
−
0
View file @
8422a7b6
#!/usr/bin/env python
# Filename: setup.py
"""
The km3net_testdata setup script.
"""
from
setuptools
import
setup
import
sys
def
read_stripped_lines
(
filename
):
"""
Return a list of stripped lines from a file
"""
with
open
(
filename
)
as
fobj
:
return
[
l
.
strip
()
for
l
in
fobj
.
readlines
()]
try
:
with
open
(
"
README.rst
"
)
as
fh
:
long_description
=
fh
.
read
()
except
UnicodeDecodeError
:
long_description
=
"
KM3NeT TestData
"
setup
(
name
=
'
km3net_testdata
'
,
url
=
'
https://git.km3net.de/km3py/km3net_testdata.git
'
,
description
=
'
KM3NeT TestData
'
,
long_description
=
long_description
,
author
=
'
Tamas Gal
'
,
author_email
=
'
tgal@km3net.de
'
,
packages
=
[
'
km3net_testdata
'
],
include_package_data
=
True
,
platforms
=
'
any
'
,
setup_requires
=
[
'
setuptools_scm
'
],
use_scm_version
=
True
,
python_requires
=
'
>=3.5
'
,
install_requires
=
read_stripped_lines
(
"
requirements.txt
"
),
extras_require
=
{
"
dev
"
:
read_stripped_lines
(
"
requirements-dev.txt
"
)},
classifiers
=
[
'
Intended Audience :: Developers
'
,
'
Intended Audience :: Science/Research
'
,
'
Programming Language :: Python
'
,
],
)
This diff is collapsed.
Click to expand it.
tests/test_core.py
0 → 100644
+
10
−
0
View file @
8422a7b6
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import
unittest
from
km3net_testdata
import
testdata
class
TestTestData
(
unittest
.
TestCase
):
def
test_access
(
self
):
assert
True
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment