Skip to content

Commit

Permalink
fix setup
Browse files Browse the repository at this point in the history
  • Loading branch information
rnixx committed Jun 7, 2017
1 parent e692b0f commit f35b9f1
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
# -*- coding: utf-8 -*-
from setuptools import find_packages
from setuptools import setup
import codecs
import os


def read_file(name):
with codecs.open(
os.path.join(os.path.dirname(__file__), name),
encoding='utf-8'
) as f:
return f.read()


version = '1.0b4'
shortdesc = 'LDAP/AD convenience with Node-trees based on python-ldap'
longdesc = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
longdesc += open(os.path.join(os.path.dirname(__file__), 'CHANGES.rst')).read()
longdesc += open(os.path.join(os.path.dirname(__file__), 'TODO.rst')).read()
longdesc += open(os.path.join(os.path.dirname(__file__), 'LICENSE.rst')).read()
longdesc = '\n\n'.join([read_file(name) for name in [
'README.rst',
'CHANGES.rst',
'TODO.rst',
'LICENSE.rst'
]])


setup(
Expand Down Expand Up @@ -41,7 +52,7 @@
'bda.cache',
'odict>=1.6.1',
'plumber>=1.4',
'node>=0.9.20'
'node>=0.9.20',
'node.ext.ugm>=0.9.9',
],
extras_require={
Expand Down

0 comments on commit f35b9f1

Please sign in to comment.