Skip to content

Commit 847b3bc

Browse files
author
dhirschf
committed
Improve packaging
Decouple build from runtime deps
1 parent 8220fc6 commit 847b3bc

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

ldapauthenticator/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
11
from ldapauthenticator.ldapauthenticator import LDAPAuthenticator
2-
3-
4-
__version__ = '1.2.0'

setup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
from setuptools import setup
22

3-
from ldapauthenticator import __version__ as version
3+
4+
version = '1.2.0'
5+
6+
7+
with open("./ldapauthenticator/__init__.py", 'a') as f:
8+
f.write("__version__ = '{}'".format(version))
49

510

611
setup(

0 commit comments

Comments
 (0)