-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (50 loc) · 1.67 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
52
53
54
55
56
#!/usr/bin/env python
"""pmtw setup.py"""
import setuptools
if __name__ == "__main__":
setuptools.setup()
"""
from setuptools import setup
from os import path
import re
from codecs import open
PACKAGE_NAME = "pmtw"
HERE = path.abspath(path.dirname(__file__))
with open(path.join(HERE, "README.md"), encoding="utf-8") as fp:
README = fp.read()
with open(path.join(HERE, PACKAGE_NAME, "constants.py"), encoding="utf-8") as fp:
VERSION = re.search('__version__ = "([^"]+)"', fp.read()).group(1)
setup(
name = PACKAGE_NAME,
author = 'adhesiveCheese',
author_email = '[email protected]',
python_requires="~=3.7",
classifiers=[
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Utilities",
],
description = (
'PMTW, an acronym for "Python Moderator Toolbox Wrapper", is a python '
"package that allows for simple access to Moderator Toolbox"
),
install_requires=[
'praw >=7.0',
],
keywords = ['Reddit', 'Moderator_Toolbox', 'Web Wrapper'],
license="Simplified BSD License",
url = 'https://github.com/adhesivecheese/pmtw',
download_url = 'https://github.com/adhesivecheese/pmtw/archive/refs/tags/v1_0_0.tar.gz',
version = VERSION,
long_description = README,
)
"""