Skip to content

Commit 07a9334

Browse files
committed
Update to build py2+py3 wheels
1 parent 3ca7c5e commit 07a9334

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
Pygments
12
six

setup.cfg

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

setup.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
from setuptools import setup, find_packages
22
import os.path
33

4-
here = os.path.abspath(os.path.dirname(__file__))
5-
README = open(os.path.join(here, 'README.rst')).read()
4+
with open('README.rst') as f:
5+
README = f.read()
66

7-
version = '1.5'
7+
with open('requirements.txt') as f:
8+
requires = f.read().strip().splitlines()
9+
10+
version = '1.6'
811

912
setup(name='regexlint',
1013
version=version,
@@ -23,7 +26,7 @@
2326
url='https://github.com/thatch/regexlint',
2427
license='Apache',
2528
packages=find_packages('.'),
26-
install_requires=['Pygments'],
29+
install_requires=requires,
2730
entry_points={
2831
'console_scripts': [
2932
'regexlint=regexlint.cmdline:main',

0 commit comments

Comments
 (0)