44from setuptools import setup , find_packages
55from setuptools .command .test import test as TestCommand
66
7- __version__ = ' 0.0.23'
7+ __version__ = " 0.0.24"
88
99
1010class PyTest (TestCommand ):
11- user_options = [(' pytest-args=' , 'a' , "Arguments to pass to py.test" )]
11+ user_options = [(" pytest-args=" , "a" , "Arguments to pass to py.test" )]
1212
1313 def initialize_options (self ):
1414 TestCommand .initialize_options (self )
15- self .pytest_args = ['-x' , ' tests' ]
15+ self .pytest_args = ["-x" , " tests" ]
1616
1717 def finalize_options (self ):
1818 TestCommand .finalize_options (self )
@@ -22,51 +22,50 @@ def finalize_options(self):
2222 def run_tests (self ):
2323 # import here, cause outside the eggs aren't loaded
2424 import pytest
25+
2526 errno = pytest .main (self .pytest_args )
2627 sys .exit (errno )
2728
2829
2930def readme ():
30- with open (' README.rst' ) as f :
31+ with open (" README.rst" ) as f :
3132 return f .read ()
3233
3334
3435setup (
35- name = ' vladiate' ,
36+ name = " vladiate" ,
3637 version = __version__ ,
3738 description = "Vladiate is a strict validation tool for CSV files" ,
3839 classifiers = [
3940 "Development Status :: 4 - Beta" ,
40- ' Environment :: Console' ,
41- ' Natural Language :: English' ,
41+ " Environment :: Console" ,
42+ " Natural Language :: English" ,
4243 "License :: OSI Approved :: MIT License" ,
4344 "Operating System :: OS Independent" ,
4445 "Programming Language :: Python" ,
45- "Programming Language :: Python :: 2" ,
46- "Programming Language :: Python :: 2.7" ,
47- 'Programming Language :: Python :: 3' ,
48- 'Programming Language :: Python :: 3.5' ,
49- 'Programming Language :: Python :: 3.6' ,
50- 'Programming Language :: Python :: 3.7' ,
51- 'Programming Language :: Python :: 3.8' ,
46+ "Programming Language :: Python :: 3" ,
47+ "Programming Language :: Python :: 3.6" ,
48+ "Programming Language :: Python :: 3.7" ,
49+ "Programming Language :: Python :: 3.8" ,
50+ "Programming Language :: Python :: 3.9" ,
5251 "Intended Audience :: Developers" ,
5352 ],
54- keywords = ' validate CSV vampires' ,
55- author = ' Dustin Ingram' ,
56- 57- url = ' http://github.com/di/vladiate' ,
58- license = ' MIT' ,
53+ keywords = " validate CSV vampires" ,
54+ author = " Dustin Ingram" ,
55+ 56+ url = " http://github.com/di/vladiate" ,
57+ license = " MIT" ,
5958 long_description = readme (),
60- packages = find_packages (exclude = [' examples' , ' tests' ]),
59+ packages = find_packages (exclude = [" examples" , " tests" ]),
6160 include_package_data = True ,
6261 zip_safe = False ,
6362 install_requires = [],
64- extras_require = {'s3' : [' boto' ]},
65- tests_require = [' pretend' , ' pytest' , 'black;python_version>="3.6"' ],
66- cmdclass = {' test' : PyTest },
63+ extras_require = {"s3" : [" boto" ]},
64+ tests_require = [" pretend" , " pytest" , 'black;python_version>="3.6"' ],
65+ cmdclass = {" test" : PyTest },
6766 entry_points = {
68- ' console_scripts' : [
69- ' vladiate = vladiate.main:main' ,
67+ " console_scripts" : [
68+ " vladiate = vladiate.main:main" ,
7069 ]
7170 },
7271)
0 commit comments