-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
executable file
·36 lines (29 loc) · 978 Bytes
/
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
def get_version():
version_file_path = os.path.join(here, "package_version.txt")
if not os.path.isfile(version_file_path):
return "debug"
version = None
with open(version_file_path, "r") as raw:
version = raw.read()
return version
setup(
name="zthreading",
version=get_version(),
description="A collection of wrapper classes for event broadcast and task management for python (Python Threads or Asyncio).",
long_description="Please see the github repo and help @ https://github.com/LamaAni/zthreading.py",
classifiers=[],
author="Zav Shotan",
author_email="",
url="https://github.com/LamaAni/zthreading.py",
packages=["zthreading"],
platforms="any",
license="LICENSE",
install_requires=[],
python_requires=">=3.6",
include_package_data=True,
)