Skip to content

Commit

Permalink
Update setup.py, MANIFEST.in and docs/conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
joowani committed May 9, 2018
1 parent d04f3db commit 52ec168
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
include README.rst LICENSE
include README.rst LICENSE
prune tests
2 changes: 1 addition & 1 deletion arango/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '4.0.0'
__version__ = '4.0.1'
13 changes: 5 additions & 8 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,10 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
import sys

from arango.version import __version__

sys.path.insert(0, os.path.abspath('../arango'))

_version = {}
with open("../arango/version.py") as fp:
exec(fp.read(), _version)

# -- General configuration ------------------------------------------------

Expand Down Expand Up @@ -64,9 +61,9 @@
# built documents.
#
# The short X.Y version.
version = __version__
version = _version['__version__']
# The full version, including alpha/beta/rc tags.
release = __version__
release = _version['__version__']

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
10 changes: 8 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
from setuptools import setup, find_packages

from arango import version
version = {}
with open("./arango/version.py") as fp:
exec(fp.read(), version)

with open('./README.rst') as fp:
description = fp.read()

setup(
name='python-arango',
description='Python Driver for ArangoDB',
version=version.__version__,
long_description=description,
version=version['__version__'],
author='Joohwan Oh',
author_email='[email protected]',
url='https://github.com/joowani/python-arango',
Expand Down

0 comments on commit 52ec168

Please sign in to comment.