11import setuptools
2+ import subprocess
23from setuptools import Distribution
34from setuptools .command .build_py import build_py
4- import subprocess
55
66
77class BinaryDistribution (Distribution ):
@@ -17,69 +17,50 @@ class my_build_py(build_py):
1717 def run (self ):
1818 # honor the --dry-run flag
1919 if not self .dry_run :
20- return_value = subprocess .call ([' ./build.sh' ])
20+ return_value = subprocess .call ([" ./build.sh" ])
2121 if return_value != 0 :
22- raise ValueError (' build.sh returned non zero exit code' )
22+ raise ValueError (" build.sh returned non zero exit code" )
2323 build_py .run (self )
2424
2525
2626setuptools .setup (
2727 name = "gomssql-python" ,
28- version = "0.0.1" ,
29-
28+ version = "0.91" ,
3029 # The project's main homepage.
31- url = 'https://github.com/ftpsolutions/gomssql-python' ,
32-
30+ url = "https://github.com/ftpsolutions/gomssql-python" ,
3331 # Author details
34- author = 'scott @ FTP Technologies' ,
35- author_email = 'scott.mills@ftpsolutions.com.au' ,
36-
32+ author = "Edward @ FTP Technologies" ,
33+ author_email = "edward.beech@ftpsolutions.com.au" ,
3734 # Choose your license
38- license = ' MIT' ,
35+ license = " MIT" ,
3936 description = "GoMSSQL Python" ,
4037 long_description = long_description ,
4138 long_description_content_type = "text/markdown" ,
4239 packages = setuptools .find_packages (),
4340 cmdclass = {
44- ' build_py' : my_build_py ,
41+ " build_py" : my_build_py ,
4542 },
46-
4743 package_data = {
48- '' : [' *.so*' ],
44+ "" : [" *.so*" ],
4945 },
5046 include_package_data = True ,
51-
5247 # Force the egg to unzip
5348 zip_safe = False ,
54-
55- install_requires = [
56- 'cffi==1.11.5' ,
57- 'future==0.17.1' ,
58- 'python-dateutil==2.7.5'
59- ],
60-
49+ install_requires = ["cffi==1.11.5" , "future==0.17.1" , "python-dateutil==2.7.5" ],
6150 # Ensures that distributable copies are platform-specific and not universal
6251 distclass = BinaryDistribution ,
63-
6452 # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
6553 classifiers = [
6654 # How mature is this project? Common values are
6755 # 3 - Alpha
6856 # 4 - Beta
6957 # 5 - Production/Stable
70- 'Development Status :: 3 - Alpha' ,
71-
58+ "Development Status :: 7 - Inactive" ,
7259 # Indicate who your project is intended for
73- 'Intended Audience :: Developers' ,
74- 'Topic :: FTP Technologies, IMS python tools' ,
75-
76- # Pick your license as you wish (should match "license" above)
77- 'MIT' ,
78-
60+ "Intended Audience :: Developers" ,
7961 # Specify the Python versions you support here. In particular, ensure
8062 # that you indicate whether you support Python 2, Python 3 or both.
81- 'Programming Language :: Python :: 2.7' ,
82-
63+ "Programming Language :: Python :: 2.7" ,
8364 # OS Support
8465 "Operating System :: POSIX" ,
8566 "Operating System :: Unix" ,
0 commit comments