Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ after_success:
- make coveralls
deploy:
provider: pypi
distributions: "sdist bdist_wheel"
user: "Ben.Timby"
password:
secure: "CwfEq0SYcw1CpNrdjMFD/R8rCZVWwTeDZQZj6Z4LIi2PUd++BdDcB9S/NVCjChxD4C9CrausH/iFoPnBYFyNf5c13BTxuo5oFC7PUY99a/PjHR8vjGC48lj5KGE4W5O2qQQkgKojcP6rD8e1YPmaO9miRKIT9DLRpIqnSW4p+jI="
on:
tags: true
python: "3.7"
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ lint:
flake8 radius.py

dependencies:
pip install coverage coveralls flake8
pip install coverage coveralls flake8 wheel

travis: lint test

Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[bdist_wheel]
universal=1
12 changes: 7 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
#!/bin/env python

from distutils.core import setup
try:
from setuptools import setup
except ImportError:
from distutils.core import setup

import radius

name = 'py-radius'
version = radius.__version__
release = '1'
versrel = version + '-' + release
download_url = 'https://github.com/downloads/btimby/' + name + \
'/' + name + '-' + versrel + '.tar.gz'

with open('LICENSE', 'r') as l:
license = l.read()
Expand All @@ -23,8 +25,7 @@
author_email = 'zen@shangri-la.dropbear.id.au',
maintainer = 'Ben Timby',
maintainer_email = 'btimby@gmail.com',
url = 'http://github.com/btimby/' + name + '/',
download_url = download_url,
url = 'https://github.com/btimby/' + name + '/',
license = license,
py_modules = ["radius"],
classifiers = [
Expand All @@ -37,6 +38,7 @@
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Systems Administration :: Authentication/Directory',
]
Expand Down