File tree Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Original file line number Diff line number Diff line change 1- include README.rst LICENSE
1+ include README.rst LICENSE
2+ prune tests
Original file line number Diff line number Diff line change 1- __version__ = '4.0.0 '
1+ __version__ = '4.0.1 '
Original file line number Diff line number Diff line change 1717# add these directories to sys.path here. If the directory is relative to the
1818# documentation root, use os.path.abspath to make it absolute, like shown here.
1919#
20- import os
21- import sys
22-
23- from arango .version import __version__
24-
25- sys .path .insert (0 , os .path .abspath ('../arango' ))
2620
21+ _version = {}
22+ with open ("../arango/version.py" ) as fp :
23+ exec (fp .read (), _version )
2724
2825# -- General configuration ------------------------------------------------
2926
6461# built documents.
6562#
6663# The short X.Y version.
67- version = __version__
64+ version = _version [ ' __version__' ]
6865# The full version, including alpha/beta/rc tags.
69- release = __version__
66+ release = _version [ ' __version__' ]
7067
7168# The language for content autogenerated by Sphinx. Refer to documentation
7269# for a list of supported languages.
Original file line number Diff line number Diff line change 11from setuptools import setup , find_packages
22
3- from arango import version
3+ version = {}
4+ with open ("./arango/version.py" ) as fp :
5+ exec (fp .read (), version )
6+
7+ with open ('./README.rst' ) as fp :
8+ description = fp .read ()
49
510setup (
611 name = 'python-arango' ,
712 description = 'Python Driver for ArangoDB' ,
8- version = version .__version__ ,
13+ long_description = description ,
14+ version = version ['__version__' ],
915 author = 'Joohwan Oh' ,
10161117 url = 'https://github.com/joowani/python-arango' ,
You can’t perform that action at this time.
0 commit comments