Skip to content

Commit 3838c1d

Browse files
committed
Okay so it's v0.91 now
1 parent 0d3f994 commit 3838c1d

File tree

2 files changed

+23
-34
lines changed

2 files changed

+23
-34
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ It has come about because it seems impossible to get away from memory leaks when
88

99
#### Versions
1010

11-
This version (0.2.4) is the last version to support Python 2; all versions after this have been subject to a refactor and support Python 3
11+
This version (0.91) is the last version to support Python 2; all versions after this have been subject to a refactor and support Python 3
1212
only.
1313

1414
#### Limitations
@@ -27,6 +27,14 @@ only.
2727

2828
* ```python setup.py install```
2929

30+
#### Installation (from PyPI)
31+
32+
* ```python -m pip install gomssql-python```
33+
34+
#### Installation (for prod)
35+
36+
* ```python setup.py install```
37+
3038
#### Making a python wheel install file (for distribution)
3139

3240
* ```python setup.py bdist_wheel```

setup.py

Lines changed: 14 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import setuptools
2+
import subprocess
23
from setuptools import Distribution
34
from setuptools.command.build_py import build_py
4-
import subprocess
55

66

77
class 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

2626
setuptools.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='[email protected]',
36-
32+
author="Edward @ FTP Technologies",
33+
author_email="[email protected]",
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

Comments
 (0)