-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
51 lines (43 loc) · 1.3 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
43
44
45
46
47
48
49
50
51
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Setup file, will build the pip package for the project.
"""
from time import time
from setuptools import setup
PRE = "{Personal-Access-Token-Name}:{Personal-Access-Token}"
def new_version():
"""
This Method will create a New version and update the Version file.
"""
time_now = int(time())
version = f'1.6.{time_now}'
return version
setup(
name = "trinityx-obol",
version = new_version(),
description = "Command line utility to manage LDAP users and groups.",
long_description = "Command line utility to manage LDAP users and groups.",
author = 'ClusterVision Development Team',
author_email = "[email protected]",
maintainer = 'ClusterVision Development Team',
maintainer_email = "[email protected]",
url = "https://gitlab.taurusgroup.one/clustervision/trinityx-obol.git",
download_url = f"https://{PRE}@gitlab.taurusgroup.one/api/v4/projects/14/packages/pypi/simple",
packages = [
"obol"
],
license = "GPL-3",
install_requires = [
"python-ldap==3.3"
],
data_files = [
("/etc/obol", ["obol.conf"])
],
entry_points={
'console_scripts': [
'obol = obol.obol:run',
]
},
)
# python setup.py sdist bdist_wheel