Merge pull request #586 from efiop/master

pypi fixes
This commit is contained in:
Ruslan Kuprieiev
2018-03-21 12:08:06 +02:00
committed by GitHub
3 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -3,5 +3,5 @@ DVC
---- ----
Make your data science projects reproducible and shareable. Make your data science projects reproducible and shareable.
""" """
VERSION = '0.9.1' VERSION = '0.9.2'
__version__ = VERSION __version__ = VERSION
Regular → Executable
+1
View File
@@ -8,5 +8,6 @@ if [ ! -d "dvc" ]; then
fi fi
rm -rf dist/ rm -rf dist/
pip install m2r twine
python setup.py bdist_wheel --universal python setup.py bdist_wheel --universal
twine upload dist/* twine upload dist/*
+11 -2
View File
@@ -1,8 +1,18 @@
import os
import platform import platform
from setuptools import setup, find_packages from setuptools import setup, find_packages
from distutils.errors import DistutilsPlatformError from distutils.errors import DistutilsPlatformError
from dvc import VERSION from dvc import VERSION
readme_file = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'README.md')
try:
from m2r import parse_from_file
readme = parse_from_file(readme_file)
except ImportError:
# m2r may not be installed in user environment
with open(readme_file) as f:
readme = f.read()
install_requires = [ install_requires = [
"boto>=2.46.1", "boto>=2.46.1",
"google-compute-engine>=2.4.1", #required by boto "google-compute-engine>=2.4.1", #required by boto
@@ -27,8 +37,7 @@ setup(
name='dvc', name='dvc',
version=VERSION, version=VERSION,
description='Git for data scientists - manage your code and data together', description='Git for data scientists - manage your code and data together',
long_description=open('README.md', 'r').read(), long_description=readme,
long_description_content_type='text/markdown',
author='Dmitry Petrov', author='Dmitry Petrov',
author_email='[email protected]', author_email='[email protected]',
url='https://github.com/dataversioncontrol/dvc.git', url='https://github.com/dataversioncontrol/dvc.git',