Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enabling the installation of python packages using pip #2

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,27 +1,34 @@
#!/usr/bin/env python

from setuptools import setup, find_packages
from pathlib import Path


'''
setup module for core.
Created on 5/20/2020
@author: songlin.xiesl、guangling.zgl
'''
NAME = "global-alipay-sdk-python"
NAME = "global_open_sdk_python"
DESCRIPTION = "The global alipay gateway SDK for Python."
AUTHOR = "songlin.xiesl"
AUTHOR_EMAIL = "[email protected]"
URL = "https://github.com/alipay/global-alipay-sdk-python"
URL = "https://github.com/alipay/global-open-sdk-python"
VERSION = "1.0.0"
'''
only python2 need enum34、pytz
'''
requires = ["enum34", "pytz", "pycryptodome", "rsa"]

this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()

setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type='text/markdown',
author=AUTHOR,
author_email=AUTHOR_EMAIL,
license="MIT",
Expand Down