forked from mirrors/gecko-dev
		
	 f5f93faeeb
			
		
	
	
		f5f93faeeb
		
	
	
	
	
		
			
			r? @Wafflespeanut It's ready to publishing to PyPI. Source-Repo: https://github.com/servo/servo Source-Revision: 524ba6a442f3215935f0b80b8b198eef096363bb --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : d287c6e99677b67c888cd9a0b9d9ac3cd3d2b53f
		
			
				
	
	
		
			58 lines
		
	
	
	
		
			1.7 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			58 lines
		
	
	
	
		
			1.7 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
| # Copyright 2013 The Servo Project Developers. See the COPYRIGHT
 | |
| # file at the top-level directory of this distribution.
 | |
| #
 | |
| # Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
 | |
| # http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
 | |
| # <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
 | |
| # option. This file may not be copied, modified, or distributed
 | |
| # except according to those terms.
 | |
| 
 | |
| import os
 | |
| from setuptools import setup, find_packages
 | |
| 
 | |
| 
 | |
| VERSION = '0.3.0'
 | |
| 
 | |
| install_requires = [
 | |
|     "flake8==2.4.1",
 | |
|     "toml==0.9.2",
 | |
|     "colorama==0.3.7",
 | |
| ]
 | |
| 
 | |
| here = os.path.dirname(os.path.abspath(__file__))
 | |
| # get documentation from the README and HISTORY
 | |
| try:
 | |
|     with open(os.path.join(here, 'README.rst')) as doc:
 | |
|         readme = doc.read()
 | |
| except:
 | |
|     readme = ''
 | |
| 
 | |
| try:
 | |
|     with open(os.path.join(here, 'HISTORY.rst')) as doc:
 | |
|         history = doc.read()
 | |
| except:
 | |
|     history = ''
 | |
| 
 | |
| long_description = readme + '\n\n' + history
 | |
| 
 | |
| if __name__ == '__main__':
 | |
|     setup(
 | |
|         name='servo_tidy',
 | |
|         version=VERSION,
 | |
|         description='The servo-tidy is used to check licenses, '
 | |
|                     'line lengths, whitespace, flake8 on Python files, lock file versions, and more.',
 | |
|         long_description=long_description,
 | |
|         keywords='mozilla servo tidy ',
 | |
|         author='The Servo Project Developers',
 | |
|         author_email='dev-servo@lists.mozilla.org',
 | |
|         url='https://github.com/servo/servo',
 | |
|         packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
 | |
|         package_data={},
 | |
|         install_requires=install_requires,
 | |
|         zip_safe=False,
 | |
|         entry_points={
 | |
|             'console_scripts': [
 | |
|                 'servo-tidy=servo_tidy.tidy:scan',
 | |
|             ],
 | |
|         },
 | |
|     )
 |