Skip to content

Commit

Permalink
Update for 1.0.5 release
Browse files Browse the repository at this point in the history
- use updated version of pydpkg
- point sources at current maintainer
- update python version compatability
- include long description in pypi page
- add publish script
  • Loading branch information
n-oden committed Mar 7, 2020
1 parent 4e4416e commit af721ad
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ dist/
*.whl
wheelhouse/
.ropeproject/
venv
venv3
build/
1 change: 1 addition & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Copyright [2017] The Climate Corporation (https://climate.com)
Additions copyright 2020 by Nathan J. Mehl <[email protected]>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
15 changes: 15 additions & 0 deletions scripts/publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh -ex

if ! [ -f venv/bin/activate ]; then
virtualenv --python=$(which python2.7) venv
fi
./venv/bin/pip install -U pip setuptools wheel
./venv/bin/python setup.py sdist bdist_wheel

if ! [ -f venv3/bin/activate ]; then
virtualenv --python=$(which python3) venv3
fi
./venv3/bin/pip install -U pip setuptools wheel twine
./venv3/bin/python setup.py bdist_wheel

./venv3/bin/twine upload dist/*
33 changes: 21 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,53 @@
from setuptools import setup, find_packages

__name__ = 'apt-repoman'
__version__ = '1.0.4'
__version__ = '1.0.5'

setup(
name=__name__,
packages=find_packages(),
version=__version__,
description='A high performance Debian APT repository based on Amazon Web Services',
description=('A high performance Debian APT repository based '
'on Amazon Web Services'),
long_description=open("README.md").read(),
long_description_content_type='text/markdown',
author='Nathan J. Mehl',
author_email='[email protected]',
url='https://github.com/theclimatecorporation/repoman',
download_url='https://github.com/theclimatecorporation/repoman/tarball/%s' % __version__,
author_email='[email protected]',
url='https://github.com/memory/repoman',
download_url='https://github.com/memory/repoman/tarball/%s' % __version__,
keywords=['apt', 'debian', 'dpkg', 'packaging'],
package_data={'': ['*.json']},
setup_requires=[
"wheel",
],
install_requires=[
'PGPy==0.4.1',
'ansicolors==1.1.8',
'boto3==1.4.4',
'configargparse==0.12.0',
'pydpkg==1.3.1',
'pydpkg==1.3.3',
'pysectools==0.4.2',
'tabulate==0.7.7'
],
extras_require={
'test': ['mock==2.0.0', 'pep8==1.7.0', 'pytest==3.1.1', 'pylint==1.7.1']
'test': [
'mock==2.0.0',
'pep8==1.7.0',
'pylint==1.7.1',
'pytest==3.1.1',
]
},
#scripts=[
# 'scripts/repoman'
#],
entry_points = {
entry_points={
'console_scripts': ['repoman-cli=apt_repoman.cli:main'],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: System :: Archiving :: Packaging",
]
Expand Down

0 comments on commit af721ad

Please sign in to comment.