Skip to content
Snippets Groups Projects
Commit c1cf8355 authored by theos's avatar theos
Browse files

Included version.py file for __version__ attribute.

parent 955da71f
Branches
Tags
No related merge requests found
Pipeline #
......@@ -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
......
# -*- 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
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment