1
1
import setuptools
2
+ import subprocess
2
3
from setuptools import Distribution
3
4
from setuptools .command .build_py import build_py
4
- import subprocess
5
5
6
6
7
7
class BinaryDistribution (Distribution ):
@@ -17,69 +17,50 @@ class my_build_py(build_py):
17
17
def run (self ):
18
18
# honor the --dry-run flag
19
19
if not self .dry_run :
20
- return_value = subprocess .call ([' ./build.sh' ])
20
+ return_value = subprocess .call ([" ./build.sh" ])
21
21
if return_value != 0 :
22
- raise ValueError (' build.sh returned non zero exit code' )
22
+ raise ValueError (" build.sh returned non zero exit code" )
23
23
build_py .run (self )
24
24
25
25
26
26
setuptools .setup (
27
27
name = "gomssql-python" ,
28
- version = "0.0.1" ,
29
-
28
+ version = "0.91" ,
30
29
# The project's main homepage.
31
- url = 'https://github.com/ftpsolutions/gomssql-python' ,
32
-
30
+ url = "https://github.com/ftpsolutions/gomssql-python" ,
33
31
# Author details
34
- author = 'scott @ FTP Technologies' ,
35
-
36
-
32
+ author = "Edward @ FTP Technologies" ,
33
+
37
34
# Choose your license
38
- license = ' MIT' ,
35
+ license = " MIT" ,
39
36
description = "GoMSSQL Python" ,
40
37
long_description = long_description ,
41
38
long_description_content_type = "text/markdown" ,
42
39
packages = setuptools .find_packages (),
43
40
cmdclass = {
44
- ' build_py' : my_build_py ,
41
+ " build_py" : my_build_py ,
45
42
},
46
-
47
43
package_data = {
48
- '' : [' *.so*' ],
44
+ "" : [" *.so*" ],
49
45
},
50
46
include_package_data = True ,
51
-
52
47
# Force the egg to unzip
53
48
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" ],
61
50
# Ensures that distributable copies are platform-specific and not universal
62
51
distclass = BinaryDistribution ,
63
-
64
52
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
65
53
classifiers = [
66
54
# How mature is this project? Common values are
67
55
# 3 - Alpha
68
56
# 4 - Beta
69
57
# 5 - Production/Stable
70
- 'Development Status :: 3 - Alpha' ,
71
-
58
+ "Development Status :: 7 - Inactive" ,
72
59
# 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" ,
79
61
# Specify the Python versions you support here. In particular, ensure
80
62
# 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" ,
83
64
# OS Support
84
65
"Operating System :: POSIX" ,
85
66
"Operating System :: Unix" ,
0 commit comments