Skip to content

Commit

Permalink
setup: pypi fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com>
  • Loading branch information
efiop committed Mar 21, 2018
1 parent 330d7e4 commit 20c1bfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion scripts/pypi_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
12 changes: 1 addition & 11 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -37,10 +28,9 @@
name='dvc',
version=VERSION,
description='Git for data scientists - manage your code and data together',
long_description=readme,
author='Dmitry Petrov',
author_email='dmitry@dataversioncontrol.com',
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',
Expand Down

0 comments on commit 20c1bfe

Please sign in to comment.