-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e33300e
commit 15b8041
Showing
6 changed files
with
44 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,6 +57,3 @@ docs/_build/ | |
|
||
# PyBuilder | ||
target/ | ||
|
||
# Version file | ||
databox/_version.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
__title__ = 'databox' | ||
__version__ = '2.1.2' | ||
__description__ = 'Python wrapper for Databox - Mobile Executive Dashboard.' | ||
__url__ = 'https://github.com/databox/databox-python' | ||
__author__ = 'Databox' | ||
__author_email__ = '[email protected]' | ||
__license__ = 'MIT' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
# -*- coding: utf-8 -*- | ||
import os | ||
|
||
from setuptools import setup, find_packages | ||
import pkg_resources | ||
from codecs import open | ||
|
||
here = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
_name = "databox" | ||
_version = pkg_resources.get_distribution(_name).version | ||
about = {} | ||
with open(os.path.join(here, 'databox', '__version__.py'), 'r', 'utf-8') as f: | ||
exec(f.read(), about) | ||
|
||
setup( | ||
use_scm_version={'write_to': 'databox/_version.py'}, | ||
setup_requires=['setuptools_scm>1.5.4'], | ||
name=_name, | ||
version=_version, | ||
author="Databox", | ||
author_email="[email protected]", | ||
description="Python wrapper for Databox - Mobile Executive Dashboard.", | ||
url="https://github.com/databox/databox-python", | ||
download_url="https://github.com/databox/databox-python/tarball/"+_version, | ||
name=about['__title__'], | ||
version=about['__version__'], | ||
author=about['__author__'], | ||
author_email=about['__author_email__'], | ||
description=about['__description__'], | ||
url=about['__url__'], | ||
download_url=about['__url__'] + "/tarball/" + about['__version__'], | ||
keywords=['databox', 'sdk', 'bi'], | ||
license='MIT', | ||
license=about['__license__'], | ||
packages=find_packages(exclude=('databox test',)), | ||
install_requires=[ | ||
'requests >= 2.13' | ||
|