Skip to content

Commit

Permalink
Okay so it's v0.91 now
Browse files Browse the repository at this point in the history
  • Loading branch information
initialed85 committed Oct 21, 2021
1 parent 0d3f994 commit 3838c1d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 34 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ It has come about because it seems impossible to get away from memory leaks when

#### Versions

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
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
only.

#### Limitations
Expand All @@ -27,6 +27,14 @@ only.

* ```python setup.py install```

#### Installation (from PyPI)

* ```python -m pip install gomssql-python```

#### Installation (for prod)

* ```python setup.py install```

#### Making a python wheel install file (for distribution)

* ```python setup.py bdist_wheel```
Expand Down
47 changes: 14 additions & 33 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import setuptools
import subprocess
from setuptools import Distribution
from setuptools.command.build_py import build_py
import subprocess


class BinaryDistribution(Distribution):
Expand All @@ -17,69 +17,50 @@ class my_build_py(build_py):
def run(self):
# honor the --dry-run flag
if not self.dry_run:
return_value = subprocess.call(['./build.sh'])
return_value = subprocess.call(["./build.sh"])
if return_value != 0:
raise ValueError('build.sh returned non zero exit code')
raise ValueError("build.sh returned non zero exit code")
build_py.run(self)


setuptools.setup(
name="gomssql-python",
version="0.0.1",

version="0.91",
# The project's main homepage.
url='https://github.com/ftpsolutions/gomssql-python',

url="https://github.com/ftpsolutions/gomssql-python",
# Author details
author='scott @ FTP Technologies',
author_email='scott.mills@ftpsolutions.com.au',

author="Edward @ FTP Technologies",
author_email="edward.beech@ftpsolutions.com.au",
# Choose your license
license='MIT',
license="MIT",
description="GoMSSQL Python",
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
cmdclass={
'build_py': my_build_py,
"build_py": my_build_py,
},

package_data={
'': ['*.so*'],
"": ["*.so*"],
},
include_package_data=True,

# Force the egg to unzip
zip_safe=False,

install_requires=[
'cffi==1.11.5',
'future==0.17.1',
'python-dateutil==2.7.5'
],

install_requires=["cffi==1.11.5", "future==0.17.1", "python-dateutil==2.7.5"],
# Ensures that distributable copies are platform-specific and not universal
distclass=BinaryDistribution,

# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',

"Development Status :: 7 - Inactive",
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: FTP Technologies, IMS python tools',

# Pick your license as you wish (should match "license" above)
'MIT',

"Intended Audience :: Developers",
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.7',

"Programming Language :: Python :: 2.7",
# OS Support
"Operating System :: POSIX",
"Operating System :: Unix",
Expand Down

0 comments on commit 3838c1d

Please sign in to comment.