Skip to content

Commit 16cb9db

Browse files
committed
Remove dependencies.
1 parent 46a03ec commit 16cb9db

File tree

3 files changed

+30
-17
lines changed

3 files changed

+30
-17
lines changed

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
1-
# FuelSDK-Python v1.3.0
1+
# FuelSDK-Python v1.3.1
22

33
Salesforce Marketing Cloud Fuel SDK for Python
44

5+
This is a fork of the original repo,
6+
the original repo is not maintained, so I decided to fork and maintain.
7+
58
## Overview
69

710
The Fuel SDK for Python provides easy access to Salesforce Marketing Cloud's Fuel API Family services, including a collection of REST APIs and a SOAP API. These APIs provide access to Salesforce Marketing Cloud functionality via common collection types such as array/hash.
811

12+
New Features in Version 1.3.1
13+
------------
14+
* Removed dependency on suds-jurko due to setuptools>=58.0.0 not supporting 2to3, pointed to suds-community
15+
* Removed wsgiref because it is part of the standard lib
16+
* Removed distribute as it is part of setuptools.
17+
18+
919
New Features in Version 1.3.0
1020
------------
1121
* Added Refresh Token support for OAuth2 authentication

requirements.txt

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
PyJWT>=1.5.3
2-
distribute==0.7.3
3-
requests>=2.18.4
4-
suds-jurko==0.6
5-
wsgiref==0.1.2
6-
1+
PyJWT>=2.4.0
2+
requests>=2.28.0
3+
suds-community>=1.1.1

setup.py

+16-10
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,36 @@
1+
from os.path import dirname, join, realpath
12
from setuptools import setup
23

4+
5+
__version__ = '1.3.1'
6+
7+
38
with open('README.md') as f:
49
readme = f.read()
510

11+
with open(join(dirname(realpath(__file__)), 'requirements.txt')) as f:
12+
PACKAGE_INSTALL_REQUIRES = [line[:-1] for line in f]
13+
14+
print(PACKAGE_INSTALL_REQUIRES)
15+
616
setup(
7-
version='1.3.0',
8-
name='Salesforce-FuelSDK',
17+
version=__version__,
18+
name='Salesforce-FuelSDK-gn',
919
description='Salesforce Marketing Cloud Fuel SDK for Python',
1020
long_description=readme,
1121
long_description_content_type="text/markdown",
12-
author='ExactTarget',
22+
author='GetNinjas',
1323
py_modules=['ET_Client'],
1424
packages=['FuelSDK'],
15-
url='https://github.com/salesforce-marketingcloud/FuelSDK-Python',
25+
url='https://github.com/carlosninja/FuelSDK-Python-gn',
1626
license='MIT',
17-
install_requires=[
18-
'pyjwt>=1.5.3',
19-
'requests>=2.18.4',
20-
'suds-jurko==0.6',
21-
],
27+
install_requires=PACKAGE_INSTALL_REQUIRES,
2228
classifiers=[
2329
'Development Status :: 4 - Beta',
2430
'Intended Audience :: Developers',
2531
'License :: OSI Approved :: MIT License',
2632
'Operating System :: OS Independent',
2733
'Topic :: Software Development :: Libraries',
28-
'Programming Language :: Python :: 3.3',
34+
'Programming Language :: Python :: 3.10',
2935
],
3036
)

0 commit comments

Comments
 (0)