Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
D2O
Commits
c1cf8355
Commit
c1cf8355
authored
May 26, 2016
by
theos
Browse files
Included version.py file for __version__ attribute.
parent
955da71f
Pipeline
#3805
skipped
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
d2o/__init__.py
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
...
...
d2o/version.py
0 → 100644
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
setup.py
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment