commit e138ec23597e9d857995f9e17d7cbbc1ffcb7e3b Author: Vaydheesh Date: Sat Apr 6 23:44:05 2019 +0530 Implemented changes suggested modified: opening README.MD removed: redundant setup_requires added: python_requirement >= 3.4 diff --git a/setup.py b/setup.py index a8dd9d5..078fb45 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,7 @@ from setuptools import setup from setuptools.command.install import install from atexit import register +from os import path import installer @@ -17,20 +18,18 @@ class PostInstallCommand(install): setup( name='apertium-python', # version='', - packages=['tests', 'apertium', 'apertium.analysis', + packages=['apertium', 'apertium.analysis', 'apertium.generation', 'apertium.translation'], url='https://github.com/apertium/apertium-python', license='GNU General Public License v3.0 ', # author='', # author_email='', # description='', - long_description=open('README.md').read(), + long_description=open(path.join(path.abspath(path.dirname(__file__)), 'README.md')).read(), + python_requires='>=3.4', install_requires=[ 'apertium-streamparser==5.0.2', ], - setup_requires=[ - 'urllib3>=1.24.1', - ], cmdclass={ 'install': PostInstallCommand, },