Skip to content

Commit

Permalink
Fix release infra script
Browse files Browse the repository at this point in the history
  • Loading branch information
kislyuk committed Jan 4, 2017
1 parent 8a39b20 commit 2576b98
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ release_patch:

release:
@if [[ -z $$TAG ]]; then echo "Use release_{major,minor,patch}"; exit 1; fi
$(eval REMOTE=$(shell git remote get-url origin | perl -ne '/(\w+\/\w+)[^\/]+$$/; print $$1'))
$(eval REMOTE=$(shell git remote get-url origin | perl -ne '/([^\/\:]+\/.+?)(\.git)?$$/; print $$1'))
$(eval GIT_USER=$(shell git config --get user.email))
$(eval GH_AUTH=$(shell if grep -q '@github.com' ~/.git-credentials; then echo $$(grep '@github.com' ~/.git-credentials | python3 -c 'import sys, urllib.parse as p; print(p.urlparse(sys.stdin.read()).netloc.split("@")[0])'); else echo $(GIT_USER); fi))
$(eval RELEASES_API=https://api.github.com/repos/${REMOTE}/releases)
Expand Down
40 changes: 20 additions & 20 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,29 @@
install_requires = [line.rstrip() for line in open(os.path.join(os.path.dirname(__file__), "requirements.txt"))]

setup(
name='pyotp',
version='2.2.1',
url='https://github.com/pyotp/pyotp',
license='BSD License',
author='PyOTP contributors',
author_email='[email protected]',
description='Python One Time Password Library',
long_description=open('README.rst').read(),
name="pyotp",
version="2.2.2",
url="https://github.com/pyotp/pyotp",
license="BSD License",
author="PyOTP contributors",
author_email="[email protected]",
description="Python One Time Password Library",
long_description=open("README.rst").read(),
install_requires=install_requires,
packages=['pyotp'],
package_dir={'': 'src'},
platforms=['MacOS X', 'Posix'],
packages=["pyotp"],
package_dir={"": "src"},
platforms=["MacOS X", "Posix"],
zip_safe=False,
test_suite="test",
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Libraries :: Python Modules'
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Topic :: Software Development :: Libraries :: Python Modules"
]
)

0 comments on commit 2576b98

Please sign in to comment.