-
Notifications
You must be signed in to change notification settings - Fork 52
/
setup.py
37 lines (31 loc) · 1.16 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
import os
import fileinput
from setuptools import setup, find_packages
CWD = os.path.dirname(__file__)
def package_version():
module_path = os.path.join(CWD, 'pebble', '__init__.py')
for line in fileinput.FileInput(module_path):
if line.startswith('__version__'):
return line.split('=')[-1].strip().replace('\'', '')
setup(
name="Pebble",
version=package_version(),
author="Matteo Cafasso",
author_email="[email protected]",
description=("Threading and multiprocessing eye-candy."),
license="LGPL",
keywords="thread process pool decorator",
url="https://github.com/noxdafox/pebble",
packages=find_packages(exclude=["test"]),
long_description=open(os.path.join(CWD, 'README.rst')).read(),
python_requires=">=3.8",
classifiers=[
"Programming Language :: Python :: 3",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: " +
"GNU Library or Lesser General Public License (LGPL)"
],
)