setup: pypi fixes

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-03-21 12:17:26 +02:00
parent 330d7e4d84
commit 20c1bfe5ff
2 changed files with 2 additions and 12 deletions
+1 -1
View File
@@ -8,6 +8,6 @@ if [ ! -d "dvc" ]; then
fi
rm -rf dist/
pip install m2r twine
pip install twine
python setup.py bdist_wheel --universal
twine upload dist/*
+1 -11
View File
@@ -1,17 +1,8 @@
import os
import platform
from setuptools import setup, find_packages
from distutils.errors import DistutilsPlatformError
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 = [
"boto>=2.46.1",
@@ -37,10 +28,9 @@ setup(
name='dvc',
version=VERSION,
description='Git for data scientists - manage your code and data together',
long_description=readme,
author='Dmitry Petrov',
author_email='[email protected]',
url='https://github.com/dataversioncontrol/dvc.git',
url='https://github.com/dataversioncontrol/dvc',
license='Apache License 2.0',
install_requires=install_requires,
keywords='data science, data version control, machine learning',