Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uses versioneer for versioning the build artifacts. All dev builds have the tag *.*.*.dev0 and all of the real versions have the tag *.*.*.
- Loading branch information
Showing
9 changed files
with
2,250 additions
and
0 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
typedjsonrpc/_version.py export-subst |
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,9 @@ | ||
.coverage | ||
.idea/ | ||
.tox/ | ||
*.~ | ||
*.egg-info/ | ||
*.py[cod] | ||
__pycache__/ | ||
build/ | ||
dist/ |
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,3 @@ | ||
typed-jsonrpc | ||
============= | ||
A typed decorator-based json-rpc library for Python |
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,3 @@ | ||
include DESCRIPTION.rst | ||
include typedjsonrpc/_version.py | ||
include versioneer.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[bdist_wheel] | ||
# This flag says that the code is written to work on both Python 2 and Python | ||
# 3. If at all possible, it is good practice to do this. If you cannot, you | ||
# will need to generate wheels for each Python version that you support. | ||
universal=1 | ||
|
||
[versioneer] | ||
VCS = git | ||
style = pep440 | ||
versionfile_source = typedjsonrpc/_version.py | ||
versionfile_build = typedjsonrpc/_version.py | ||
tag_prefix = | ||
parentdir_prefix = typedjsonrpc |
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,58 @@ | ||
"""A setuptools based setup module. | ||
See: | ||
https://packaging.python.org/en/latest/distributing.html | ||
https://github.com/pypa/sampleproject | ||
""" | ||
|
||
import versioneer | ||
|
||
# Always prefer setuptools over distutils | ||
from setuptools import setup, find_packages | ||
# To use a consistent encoding | ||
from codecs import open | ||
from os import path | ||
|
||
here = path.abspath(path.dirname(__file__)) | ||
|
||
with open(path.join(here, "DESCRIPTION.rst"), encoding="utf-8") as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name="typedjsonrpc", | ||
|
||
version=versioneer.get_version(), | ||
cmdclass=versioneer.get_cmdclass(), | ||
|
||
description="A typed decorator-based json-rpc library for Python", | ||
long_description=long_description, | ||
|
||
url="https://github.com/palantir/typedjsonrpc", | ||
|
||
author="Michael Nazario", | ||
author_email="mnazario@palantir.com", | ||
|
||
license="MIT", | ||
|
||
classifiers=[ | ||
"Development Status :: 3 - Alpha", | ||
|
||
"Intended Audience :: Developers", | ||
"Topic :: Internet :: WWW/HTTP", | ||
|
||
"License :: OSI Approved :: MIT License", | ||
|
||
"Programming Language :: Python :: 2", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.4", | ||
], | ||
|
||
keywords="jsonrpc json-rpc rpc", | ||
|
||
packages=find_packages(exclude=["contrib", "docs", "tests*"]), | ||
|
||
install_requires=[], | ||
|
||
extras_require={}, | ||
) |
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,4 @@ | ||
|
||
from ._version import get_versions | ||
__version__ = get_versions()['version'] | ||
del get_versions |
Oops, something went wrong.