This repository has been archived by the owner on Apr 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide version number to documentation.
- Loading branch information
Showing
4 changed files
with
26 additions
and
6 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 |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
import os | ||
|
||
from . import _birdisle | ||
from ._version import __version__ | ||
|
||
|
||
class Server(object): | ||
|
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,2 @@ | ||
# This file is parsed by a regex, so keep the format exactly the same | ||
__version__ = "0.1" |
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,9 +1,15 @@ | ||
#!/usr/bin/env python | ||
import os | ||
import re | ||
from setuptools import setup, find_packages | ||
|
||
with open('README.md', 'r') as f: | ||
long_description = f.read() | ||
|
||
with open(os.path.join('birdisle', '_version.py'), 'r') as f: | ||
match = re.search('__version__ = "([^"]+)"', f.read()) | ||
version = match.group(1) | ||
|
||
tests_require = [ | ||
'pytest', 'pytest-forked', 'redis', | ||
'pytest-asyncio; python_version >= "3.5"', | ||
|
@@ -13,7 +19,7 @@ | |
|
||
setup( | ||
name='birdisle', | ||
version='0.1', | ||
version=version, | ||
author='Bruce Merry', | ||
author_email='[email protected]', | ||
description='Python bindings for birdisle', | ||
|