Skip to content

Commit cba47d4

Browse files
committed
Moved sources from src to eks folder
setup.py install wouldn't include the sources, while setup.py develop would. __init__.py imports EKSConnector and EKSCallback as a shortcut to mimic the previous import behaviour.
1 parent 8c380b5 commit cba47d4

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

eks/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
from eks import EKSConnector
2+
from eks import EKSCallback

src/demo.py eks/demo.py

File renamed without changes.

src/eks.py eks/eks.py

File renamed without changes.

src/test.py eks/test.py

File renamed without changes.

setup.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@
22

33
setup(
44
name='eks',
5-
version='0.1',
6-
packages=find_packages("src", exclude=["*.tests", "*.tests.*", "tests.*", "tests", "demo.*"]),
5+
version='0.1.1',
6+
packages=find_packages(".", exclude=["*.tests", "*.tests.*", "tests.*", "tests", "demo.*"]),
77
package_dir = {'':'src'},
88
url='https://github.com/olisim/eks',
99
license='MIT',
1010
author='Oliver Simon',
1111
author_email='simon@dajool.com',
12+
maintainer='Jochen Breuer',
13+
maintainer_email='breuer@dajool.com',
1214
install_requires=[],
13-
description='...',
15+
description='A Python library to communicate with an Euchner Electronic-Key-System (EKS).',
16+
keywords='eks Euchner Electronic Key System keysystem',
1417
platforms='any',
1518
)

0 commit comments

Comments
 (0)