Skip to content

Commit

Permalink
Merged in b-enlnt/pdb/b64 (pull request #48)
Browse files Browse the repository at this point in the history
Fix setup on Python 3.x. Add py3.6 environment into tox.
  • Loading branch information
Antonio Cuni committed Jun 11, 2017
2 parents 1376bbb + 1f02f7a commit 1a1b6c2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@
from setuptools import setup, find_packages
from setuptools.command.install import install
from distutils.core import Command
import io
HACK = 'pdbmm_hijack_pdb.pth'

readme = os.path.join(os.path.dirname(__file__), 'README.rst')
changelog = os.path.join(os.path.dirname(__file__), 'CHANGELOG')
long_description = open(readme).read() + '\n\n' + open(changelog).read()
readme_path = os.path.join(os.path.dirname(__file__), 'README.rst')
changelog_path = os.path.join(os.path.dirname(__file__), 'CHANGELOG')

readme = io.open(readme_path, encoding='utf-8').read()
changelog = io.open(changelog_path, encoding='utf-8').read()

long_description = readme + '\n\n' + changelog


class install_with_pth(install):
sub_commands = install.sub_commands + [
Expand All @@ -18,7 +24,6 @@ class install_with_pth(install):
]



class install_pth_hack(Command):
user_options = [
('install-dir=', 'd', "directory to install to"),
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py26, py27, pypy, py32, py33, py34, py35, pypy3
envlist = py26, py27, pypy, py32, py33, py34, py35, py36, pypy3

[testenv]
deps =
Expand Down

0 comments on commit 1a1b6c2

Please sign in to comment.