| 1 |  |  | #!/usr/bin/env python | 
            
                                                        
            
                                    
            
            
                | 2 |  |  | # -*- coding: utf-8 -*- | 
            
                                                        
            
                                    
            
            
                | 3 |  |  |  | 
            
                                                        
            
                                    
            
            
                | 4 |  |  | """The setup script.""" | 
            
                                                        
            
                                    
            
            
                | 5 |  |  |  | 
            
                                                        
            
                                    
            
            
                | 6 |  |  | from setuptools import setup, find_packages | 
            
                                                        
            
                                    
            
            
                | 7 |  |  |  | 
            
                                                        
            
                                    
            
            
                | 8 |  |  | with open('README.rst') as readme_file: | 
            
                                                        
            
                                    
            
            
                | 9 |  |  |     readme = readme_file.read() | 
            
                                                        
            
                                    
            
            
                | 10 |  |  |  | 
            
                                                        
            
                                    
            
            
                | 11 |  |  | with open('CHANGELOG.rst') as change_log_file: | 
            
                                                        
            
                                    
            
            
                | 12 |  |  |     change_log = change_log_file.read() | 
            
                                                        
            
                                    
            
            
                | 13 |  |  |  | 
            
                                                        
            
                                    
            
            
                | 14 |  |  | requirements = ['Click>=6.0', ] | 
            
                                                        
            
                                    
            
            
                | 15 |  |  |  | 
            
                                                        
            
                                    
            
            
                | 16 |  |  | setup_requirements = ['pytest-runner', ] | 
            
                                                        
            
                                    
            
            
                | 17 |  |  |  | 
            
                                                        
            
                                    
            
            
                | 18 |  |  | test_requirements = ['pytest', ] | 
            
                                                        
            
                                    
            
            
                | 19 |  |  |  | 
            
                                                        
            
                                    
            
            
                | 20 |  |  | setup( | 
            
                                                        
            
                                    
            
            
                | 21 |  |  |     author='William Jamir Silva', | 
            
                                                        
            
                                    
            
            
                | 22 |  |  |     author_email='[email protected]', | 
            
                                                        
            
                                    
            
            
                | 23 |  |  |     maintainer='William Jamir Silva', | 
            
                                                        
            
                                    
            
            
                | 24 |  |  |     maintainer_email='[email protected]', | 
            
                                                        
            
                                    
            
            
                | 25 |  |  |     classifiers=[ | 
            
                                                        
            
                                    
            
            
                | 26 |  |  |         'Development Status :: 2 - Pre-Alpha', | 
            
                                                        
            
                                    
            
            
                | 27 |  |  |         'Intended Audience :: Developers', | 
            
                                                        
            
                                    
            
            
                | 28 |  |  |         'License :: OSI Approved :: MIT License', | 
            
                                                        
            
                                    
            
            
                | 29 |  |  |         'Natural Language :: English', | 
            
                                                        
            
                                    
            
            
                | 30 |  |  |         "Programming Language :: Python :: 2", | 
            
                                                        
            
                                    
            
            
                | 31 |  |  |         'Programming Language :: Python :: 2.7', | 
            
                                                        
            
                                    
            
            
                | 32 |  |  |         'Programming Language :: Python :: 3', | 
            
                                                        
            
                                    
            
            
                | 33 |  |  |         'Programming Language :: Python :: 3.4', | 
            
                                                        
            
                                    
            
            
                | 34 |  |  |         'Programming Language :: Python :: 3.5', | 
            
                                                        
            
                                    
            
            
                | 35 |  |  |         'Programming Language :: Python :: 3.6', | 
            
                                                        
            
                                    
            
            
                | 36 |  |  |     ], | 
            
                                                        
            
                                    
            
            
                | 37 |  |  |     description="Facilitate moving python modules across project by rewriting import statements " | 
            
                                                        
            
                                    
            
            
                | 38 |  |  |                 "using google-pasta", | 
            
                                                        
            
                                    
            
            
                | 39 |  |  |     entry_points={ | 
            
                                                        
            
                                    
            
            
                | 40 |  |  |         'console_scripts': [ | 
            
                                                        
            
                                    
            
            
                | 41 |  |  |             'renamer=module_renamer.cli:main', | 
            
                                                        
            
                                    
            
            
                | 42 |  |  |         ], | 
            
                                                        
            
                                    
            
            
                | 43 |  |  |     }, | 
            
                                                        
            
                                    
            
            
                | 44 |  |  |     install_requires=requirements, | 
            
                                                        
            
                                    
            
            
                | 45 |  |  |     license="MIT license", | 
            
                                                        
            
                                    
            
            
                | 46 |  |  |     long_description=readme + '\n\n' + change_log, | 
            
                                                        
            
                                    
            
            
                | 47 |  |  |     include_package_data=True, | 
            
                                                        
            
                                    
            
            
                | 48 |  |  |     keywords='module_renamer', | 
            
                                                        
            
                                    
            
            
                | 49 |  |  |     name='module_renamer', | 
            
                                                        
            
                                    
            
            
                | 50 |  |  |     packages=find_packages(include=['module_renamer']), | 
            
                                                        
            
                                    
            
            
                | 51 |  |  |     setup_requires=setup_requirements, | 
            
                                                        
            
                                    
            
            
                | 52 |  |  |     test_suite='tests', | 
            
                                                        
            
                                    
            
            
                | 53 |  |  |     tests_require=test_requirements, | 
            
                                                        
            
                                    
            
            
                | 54 |  |  |     url='https://github.com/ESSS/module_renamer', | 
            
                                                        
            
                                    
            
            
                | 55 |  |  |     version='0.1.0', | 
            
                                                        
            
                                    
            
            
                | 56 |  |  |     zip_safe=False, | 
            
                                                        
            
                                    
            
            
                | 57 |  |  | ) | 
            
                                                        
            
                                    
            
            
                | 58 |  |  |  |