Skip to content

Commit 05d9987

Browse files
committed
First swing at wheel support
1 parent c8e6f53 commit 05d9987

File tree

3 files changed

+22
-9
lines changed

3 files changed

+22
-9
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ init3:
1919
virtualenv --python=python3 env3
2020
. env3/bin/activate && pip install nose
2121
. env3/bin/activate && pip install --editable .
22+
23+
publish:
24+
python setup.py sdist upload
25+
python setup.py bdist_wheel upload

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[wheel]
2+
universal = 1

setup.py

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# -*- coding: utf-8 -*-
22

3-
from setuptools import setup, find_packages
3+
try:
4+
from setuptools import setup
5+
except ImportError:
6+
from distutils.core import setup
47

58

69
with open('README.rst') as f:
@@ -11,23 +14,20 @@
1114

1215
setup(
1316
name='whatthepatch',
14-
version='0.0.2',
15-
description='A patch parsing library',
17+
version='0.0.3',
18+
description='A patch parsing library.',
1619
long_description=readme,
1720
author='Christopher S. Corley',
1821
author_email='[email protected]',
1922
url='https://github.com/cscorley/whatthepatch',
2023
license=license,
21-
packages=find_packages(exclude=('tests', 'docs')),
22-
keywords = [
24+
packages=['whatthepatch'],
25+
keywords=[
2326
"patch",
2427
"diff",
2528
"parser",
2629
],
2730
classifiers=[
28-
"Programming Language :: Python",
29-
"Programming Language :: Python :: 2",
30-
"Programming Language :: Python :: 3",
3131
"Operating System :: OS Independent",
3232
"License :: OSI Approved :: MIT License",
3333
"Development Status :: 3 - Alpha",
@@ -37,6 +37,13 @@
3737
"Topic :: Software Development :: Libraries :: Python Modules",
3838
"Topic :: Software Development :: Version Control",
3939
"Topic :: Text Processing",
40-
],
40+
"Programming Language :: Python",
41+
"Programming Language :: Python :: 2",
42+
"Programming Language :: Python :: 2.6",
43+
"Programming Language :: Python :: 2.7",
44+
"Programming Language :: Python :: 3",
45+
"Programming Language :: Python :: 3.3",
46+
"Programming Language :: Python :: 3.4",
47+
],
4148
)
4249

0 commit comments

Comments
 (0)