Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
D2O
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
ift
D2O
Commits
c1cf8355
There was a problem fetching the pipeline summary.
Commit
c1cf8355
authored
9 years ago
by
theos
Browse files
Options
Downloads
Patches
Plain Diff
Included version.py file for __version__ attribute.
parent
955da71f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
d2o/__init__.py
+2
-0
2 additions, 0 deletions
d2o/__init__.py
d2o/version.py
+7
-0
7 additions, 0 deletions
d2o/version.py
setup.py
+6
-4
6 additions, 4 deletions
setup.py
with
15 additions
and
4 deletions
d2o/__init__.py
+
2
−
0
View file @
c1cf8355
...
...
@@ -2,6 +2,8 @@
from
__future__
import
division
from
version
import
__version__
from
config
import
configuration
from
distributed_data_object
import
distributed_data_object
from
d2o_librarian
import
d2o_librarian
...
...
This diff is collapsed.
Click to expand it.
d2o/version.py
0 → 100644
+
7
−
0
View file @
c1cf8355
# -*- coding: utf-8 -*-
# Store the version here so:
# 1) we don't load dependencies by storing it in __init__.py
# 2) we can import it in setup.py for the same reason
# 3) we can import it into your module module
__version__
=
'
1.0.0b1
'
\ No newline at end of file
This diff is collapsed.
Click to expand it.
setup.py
+
6
−
4
View file @
c1cf8355
...
...
@@ -3,6 +3,8 @@
import
os
from
setuptools
import
setup
exec
(
open
(
'
version.py
'
).
read
())
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
...
...
@@ -11,13 +13,13 @@ def read(fname):
return
open
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
fname
)).
read
()
setup
(
name
=
"
D2O
"
,
version
=
"
1.0.0rc1
"
,
name
=
"
d2o
"
,
version
=
__version__
,
author
=
"
Theo Steininger
"
,
author_email
=
"
theos@mpa-garching.mpg.de
"
,
description
=
(
"
A distributed data object for parallel high-performance
"
"
computing in Python
"
),
license
=
""
,
license
=
"
BSD
"
,
keywords
=
"
parallelization, numerics, MPI
"
,
url
=
"
https://gitlab.mpcdf.mpg.de/ift/D2O
"
,
packages
=
[
'
d2o
'
,
'
d2o.config
'
,
'
d2o.mpi_dummy
'
,
'
tests
'
],
...
...
@@ -30,6 +32,6 @@ setup(
classifiers
=
[
"
Development Status :: 4 - Beta
"
,
"
Topic :: Utilities
"
,
#
"License :: OSI Approved :: BSD License",
"
License :: OSI Approved :: BSD License
"
,
],
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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