Kaydet (Commit) 494c340c authored tarafından Joffrey F's avatar Joffrey F

Avoid version duplication

üst f9c84cbe
......@@ -12,7 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from .version import version
__version__ = version
__title__ = 'docker-py'
__version__ = '0.3.0'
from .client import Client # flake8: noqa
version = "0.3.2-dev"
\ No newline at end of file
......@@ -11,13 +11,15 @@ if sys.version_info[0] == 3:
else:
requirements_file = './requirements.txt'
exec(open('docker/version.py').read())
test_requirements = []
with open(requirements_file) as requirements_txt:
requirements = [line for line in requirements_txt]
setup(
name="docker-py",
version='0.3.2-dev',
version=version,
description="Python client for Docker.",
packages=['docker', 'docker.auth', 'docker.unixconn', 'docker.utils'],
install_requires=requirements + test_requirements,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment