Skip to content

Commit

Permalink
@minor switching to vcver.
Browse files Browse the repository at this point in the history
  • Loading branch information
toumorokoshi committed Apr 24, 2017
1 parent 93d9fa3 commit 9eb44a4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -90,4 +90,5 @@ ENV/

.uranium
bin
include
include
VERSION
1 change: 1 addition & 0 deletions MANIFEST.in
@@ -0,0 +1 @@
include VERSION
8 changes: 7 additions & 1 deletion setup.py
@@ -1,5 +1,10 @@
#!/usr/bin/env python
import os
import sys
is_release = False
if "--release" in sys.argv:
sys.argv.remove("--release")
is_release = True
from setuptools import setup, find_packages

base = os.path.dirname(os.path.abspath(__file__))
Expand All @@ -12,7 +17,8 @@
tests_require = []

setup(name='deepmerge',
version='0.0.4b',
setup_requires=["vcver"],
vcver={"is_release": is_release, "path": base},
description='a toolset to deeply merge python dictionaries.',
long_description=open(README_PATH).read(),
author='Yusuke Tsutsumi',
Expand Down
2 changes: 1 addition & 1 deletion ubuild.py
Expand Up @@ -23,7 +23,7 @@ def publish(build):
build.packages.install("wheel")
build.executables.run([
"python", "setup.py",
"sdist", "bdist_wheel", "--universal", "upload"
"sdist", "bdist_wheel", "--universal", "upload", "--release"
])


Expand Down

0 comments on commit 9eb44a4

Please sign in to comment.