Skip to content

Commit

Permalink
Moved tests and embedded server.
Browse files Browse the repository at this point in the history
Updated setup.py and manifest to not include tests and embedded server.
  • Loading branch information
pkittenis committed Aug 28, 2017
1 parent 2e73a1a commit 6ee0997
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
recursive-exclude embedded_server *
recursive-exclude docker *
recursive-exclude tests *
include versioneer.py
include ssh2/_version.py
exclude .travis.yml
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
'cython_compile_time_env': {'EMBEDDED_LIB': _embedded_lib}} \
if USING_CYTHON else {}

print("Linking with %s and compiler arguments %s" % (_libs, _comp_args))

extensions = [
Extension(sources[i].split('.')[0].replace(os.path.sep, '.'),
sources=[sources[i]],
Expand Down Expand Up @@ -69,7 +67,9 @@
description=('Super fast SSH library - bindings for libssh2'),
long_description=open('README.rst').read(),
packages=find_packages(
'.', exclude=('embedded_server', 'embedded_server.*')),
'.', exclude=('embedded_server', 'embedded_server.*',
'tests', 'tests.*',
'*.tests', '*.tests.*')),
zip_safe=False,
include_package_data=True,
platforms='any',
Expand Down
2 changes: 1 addition & 1 deletion tests/base_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import socket
from sys import version_info

from .embedded_server.openssh import OpenSSHServer
from ssh2.session import Session
from embedded_server.openssh import OpenSSHServer


PKEY_FILENAME = os.path.sep.join([os.path.dirname(__file__), 'unit_test_key'])
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 6ee0997

Please sign in to comment.