-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #88 from jirikuncar/packaging
global: packaging cleanup
- Loading branch information
Showing
8 changed files
with
102 additions
and
71 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
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,5 @@ | ||
include *.txt | ||
include *.yml | ||
include LICENSE NOTICE | ||
prune tests | ||
prune docs |
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,5 @@ | ||
Goblin | ||
Copyright 2017 - David M. Brown | ||
Copyright 2017 - Swiss Data Science Center (SDSC) | ||
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and | ||
Eidgenössische Technische Hochschule Zürich (ETHZ). |
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,8 @@ | ||
# -*- coding: utf-8 -*- | ||
"""Version information for Goblin. | ||
This file is imported by ``goblin.__init__``, | ||
and parsed by ``setup.py``. | ||
""" | ||
|
||
__version__ = '2.1.0' |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,26 +1,71 @@ | ||
from setuptools import setup | ||
# -*- coding: utf-8 -*- | ||
"""Python toolkit for Tinker Pop 3 Gremlin Server""" | ||
|
||
import os | ||
|
||
setup( | ||
name="goblin", | ||
version="2.1.0", | ||
url="", | ||
license="AGPL", | ||
author="davebshow", | ||
author_email="davebshow@gmail.com", | ||
description="Python toolkit for TP3 Gremlin Server", | ||
packages=["goblin", "goblin.driver"], | ||
install_requires=[ | ||
"aiogremlin==3.2.6rc1", | ||
"inflection==0.3.1", | ||
from setuptools import find_packages, setup | ||
|
||
tests_require = [ | ||
'check-manifest>=0.25', | ||
'coverage>=4.0', | ||
'isort>=4.2.2', | ||
'pydocstyle>=1.0.0', | ||
'pytest-asyncio>=0.8.0', | ||
'pytest-cache>=1.0', | ||
'pytest-cov>=2.5.1', | ||
'pytest-pep8>=1.0.6', | ||
'pytest>=3.2.1', | ||
] | ||
|
||
extras_require = { | ||
'docs': [ | ||
'Sphinx>=1.6.3', | ||
'alabaster>=0.7.10', | ||
], | ||
test_suite="tests", | ||
setup_requires=['pytest-runner'], | ||
tests_require=['pytest-asyncio', 'pytest'], | ||
'tests': tests_require, | ||
} | ||
|
||
extras_require['all'] = [] | ||
for name, reqs in extras_require.items(): | ||
extras_require['all'].extend(reqs) | ||
|
||
setup_requires = [ | ||
'pytest-runner>=2.6.2', | ||
] | ||
|
||
install_requires = [ | ||
'aiogremlin==3.2.6rc1', | ||
'gremlinpython==3.2.6', | ||
'inflection==0.3.1', | ||
] | ||
|
||
packages = find_packages() | ||
|
||
# Get the version string. Cannot be done with import! | ||
g = {} | ||
with open(os.path.join('goblin', 'version.py'), 'rt') as fp: | ||
exec(fp.read(), g) | ||
version = g['__version__'] | ||
|
||
|
||
setup( | ||
name='goblin', | ||
version=version, | ||
url='https://github.com/davebshow/goblin', | ||
license='Apache License 2.0', | ||
author='davebshow', | ||
author_email='davebshow@gmail.com', | ||
description=__doc__, | ||
packages=packages, | ||
install_requires=install_requires, | ||
extras_require=extras_require, | ||
test_suite='tests', | ||
setup_requires=setup_requires, | ||
tests_require=tests_require, | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: Apache License, Version 2.0, | ||
'Operating System :: OS Independent' | ||
] | ||
'License :: OSI Approved :: Apache License, Version 2.0', | ||
'Operating System :: OS Independent', | ||
], | ||
) |