mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-13 12:33:25 +02:00
Use semantic versioning (#522)
This commit is contained in:
parent
b9f37a545f
commit
1d8b25dcae
2 changed files with 4 additions and 6 deletions
9
setup.py
9
setup.py
|
|
@ -1,4 +1,3 @@
|
|||
import io
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
|
@ -8,13 +7,12 @@ import setuptools.command.test
|
|||
from grpc_tools import protoc
|
||||
from setuptools import Command, find_packages, setup
|
||||
|
||||
from squeaknode import __version__
|
||||
|
||||
PACKAGE_DIRECTORIES = {
|
||||
'': '.',
|
||||
}
|
||||
|
||||
with io.open("README.md", "rt", encoding="utf8") as f:
|
||||
readme = f.read()
|
||||
|
||||
|
||||
class BuildPyCommand(setuptools.command.build_py.build_py):
|
||||
"""Custom build command."""
|
||||
|
|
@ -72,10 +70,9 @@ class BuildPackageProtos(Command):
|
|||
|
||||
setup(
|
||||
name="squeaknode",
|
||||
version="1.0.0",
|
||||
version=__version__,
|
||||
url="https://github.com/yzernik/squeaknode",
|
||||
description="Server for squeak protocol.",
|
||||
long_description=readme,
|
||||
packages=find_packages(),
|
||||
# package_dir=PACKAGE_DIRECTORIES,
|
||||
include_package_data=True,
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
__version__ = '0.1.0'
|
||||
Loading…
Add table
Add a link
Reference in a new issue