forked from PnX-SI/UsersHub-authentification-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·42 lines (34 loc) · 1.46 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# coding: utf-8
# Do not import unicode_literals it generate an error when install module with pip
from __future__ import (print_function,
absolute_import, division)
import re
import setuptools
from codecs import open
def get_version(path="VERSION"):
""" Return the version of by with regex intead of importing it"""
return open(path, "rt").read()
setuptools.setup(
name='pypnusershub',
version=get_version(),
description="Python lib to authenticate using PN's UsersHub",
long_description=open('README.md', encoding="utf8").read().strip(),
author="Les parcs nationaux de France",
url='https://github.com/PnX-SI/UsersHub-authentification-module',
packages=setuptools.find_packages('src'),
package_dir={'': 'src'},
install_requires=list(open('requirements.txt', 'r')),
include_package_data=True,
zip_safe=False,
keywords='ww',
classifiers=['Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'Natural Language :: English',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: GNU Affero General Public License v3'
'Operating System :: OS Independent'],
)