Skip to content

Commit f400ae5

Browse files
committed
Okay so it's v0.91 now
1 parent 776611c commit f400ae5

2 files changed

Lines changed: 19 additions & 33 deletions

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ It was made very easy with the help of the Golang [gopy](https://github.com/go-p
66

77
#### Versions
88

9-
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
9+
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
1010
only.
1111

1212
#### Limitations
@@ -23,6 +23,10 @@ only.
2323
* virtualenvwrapper
2424
* pkgconfig/pkg-config
2525

26+
#### Installation (from PyPI)
27+
28+
* ```python -m pip install gosnmp-python```
29+
2630
#### Installation (for prod)
2731

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

setup.py

Lines changed: 14 additions & 32 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,68 +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="gosnmp-python",
28-
version="0.2.5",
29-
28+
version="0.91",
3029
# The project's main homepage.
31-
url='https://github.com/ftpsolutions/gosnmp-python',
32-
30+
url="https://github.com/ftpsolutions/gosnmp-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="GoSNMP 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-
],
59-
49+
install_requires=["cffi==1.11.5", "future==0.17.1"],
6050
# Ensures that distributable copies are platform-specific and not universal
6151
distclass=BinaryDistribution,
62-
6352
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
6453
classifiers=[
6554
# How mature is this project? Common values are
6655
# 3 - Alpha
6756
# 4 - Beta
6857
# 5 - Production/Stable
69-
'Development Status :: 3 - Alpha',
70-
58+
"Development Status :: 7 - Inactive",
7159
# Indicate who your project is intended for
72-
'Intended Audience :: Developers',
73-
'Topic :: FTP Technologies, IMS python tools',
74-
75-
# Pick your license as you wish (should match "license" above)
76-
'MIT',
77-
60+
"Intended Audience :: Developers",
7861
# Specify the Python versions you support here. In particular, ensure
7962
# that you indicate whether you support Python 2, Python 3 or both.
80-
'Programming Language :: Python :: 2.7',
81-
63+
"Programming Language :: Python :: 2.7",
8264
# OS Support
8365
"Operating System :: POSIX",
8466
"Operating System :: Unix",

0 commit comments

Comments
 (0)