File tree 4 files changed +16
-12
lines changed
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 17
17
# add these directories to sys.path here. If the directory is relative to the
18
18
# documentation root, use os.path.abspath to make it absolute, like shown here.
19
19
#
20
- import os
21
- import sys
22
-
23
- from arango .version import __version__
24
-
25
- sys .path .insert (0 , os .path .abspath ('../arango' ))
26
20
21
+ _version = {}
22
+ with open ("../arango/version.py" ) as fp :
23
+ exec (fp .read (), _version )
27
24
28
25
# -- General configuration ------------------------------------------------
29
26
64
61
# built documents.
65
62
#
66
63
# The short X.Y version.
67
- version = __version__
64
+ version = _version [ ' __version__' ]
68
65
# The full version, including alpha/beta/rc tags.
69
- release = __version__
66
+ release = _version [ ' __version__' ]
70
67
71
68
# The language for content autogenerated by Sphinx. Refer to documentation
72
69
# for a list of supported languages.
Original file line number Diff line number Diff line change 1
1
from setuptools import setup , find_packages
2
2
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 ()
4
9
5
10
setup (
6
11
name = 'python-arango' ,
7
12
description = 'Python Driver for ArangoDB' ,
8
- version = version .__version__ ,
13
+ long_description = description ,
14
+ version = version ['__version__' ],
9
15
author = 'Joohwan Oh' ,
10
16
author_email = 'joohwan.oh@outlook.com' ,
11
17
url = 'https://github.com/joowani/python-arango' ,
You can’t perform that action at this time.
0 commit comments