From 7453a28ff852b58fa99e9d16c1793be5c89fbb00 Mon Sep 17 00:00:00 2001 From: Kepoor Hampond Date: Sat, 10 Dec 2016 22:56:50 -0800 Subject: [PATCH] Fixed bug with installing the package from pip --- .gitignore | 10 ++++------ README.md | 2 +- setup.cfg | 5 +++++ setup.py | 20 +++++++++----------- 4 files changed, 19 insertions(+), 18 deletions(-) create mode 100644 setup.cfg diff --git a/.gitignore b/.gitignore index 2b5a509..e649f78 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,8 @@ -# Compiled python modules. +# General stuff to ignore. *.pyc - -# Setuptools distribution folder. /dist/ - -# Python egg metadata, regenerated from source files by setuptools. /*.egg-info/ - /build/ + +# For easy updating of stuff. +update_pypi_and_github.py diff --git a/README.md b/README.md index 2e6b1cf..206e031 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Ingenious Redistribution System [![License: GNU](https://img.shields.io/badge/License-GNU-yellow.svg)](http://www.gnu.org/licenses/gpl.html) -[![PyPI](https://img.shields.io/badge/Python-3.5-blue.svg)](https://pypi.python.org/pypi/irs) +[![PyPI](https://img.shields.io/badge/PyPi-Python_3.5-blue.svg)](https://pypi.python.org/pypi/irs) Now with working album art! diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..79bc678 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,5 @@ +[bdist_wheel] +# This flag says that the code is written to work on both Python 2 and Python +# 3. If at all possible, it is good practice to do this. If you cannot, you +# will need to generate wheels for each Python version that you support. +universal=1 diff --git a/setup.py b/setup.py index 1924c59..e367488 100644 --- a/setup.py +++ b/setup.py @@ -2,22 +2,20 @@ from setuptools import setup setup( name='irs', - version='0.1', + version='1.0.2', description='A music downloader that just gets metadata.', - url='http://github.com/kepoorhampond/irs', + url='https://github.com/kepoorhampond/irs', author='Kepoor Hampond', author_email='kepoorh@gmail.com', license='GNU', - packages=['irs'], + packages =['irs'], install_requires=[ - 'youtube-dl', - 'bs4', - 'mutagen', - 'requests', + 'bs4', + 'mutagen', + 'youtube-dl', + 'requests', ], - entry_points={ - 'console_scripts': [ - 'irs = irs.__main__:main' - ] + entry_points = { + 'console_scripts': ['irs = irs.__main__:main'], }, )