From e98f20a0371714936d05506b3aaefef11c010381 Mon Sep 17 00:00:00 2001 From: the5fire Date: Tue, 13 Jun 2017 18:23:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=8E=E7=A1=AE=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- essay/__init__.py | 1 + setup.py | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/essay/__init__.py b/essay/__init__.py index 034b5ff..3a7c620 100644 --- a/essay/__init__.py +++ b/essay/__init__.py @@ -1,3 +1,4 @@ from fabric.state import env env.PYPI_INDEX = 'http://pypi.douban.com/simple/' +VERSION = '0.0.3' diff --git a/setup.py b/setup.py index 65c9f1f..f0605ea 100644 --- a/setup.py +++ b/setup.py @@ -1,12 +1,14 @@ # coding: utf-8 -#!/usr/bin/env python +from __future__ import unicode_literals from setuptools import setup, find_packages +from essay import VERSION + setup( name='essay', - version='${version}', - description=u'持续部署工具', + version=VERSION, + description='持续部署工具', long_description='', author='SohuTech', author_email='thefivefire@gmail.com',