-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
61 lines (56 loc) · 1.88 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
57
58
59
60
61
import os
import re
from setuptools import find_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.rst')) as f:
CHANGES = f.read()
with open(os.path.join(here, "flask_lastuser", "_version.py")) as f:
versionfile = f.read()
mo = re.search(r"^__version__\s*=\s*['\"]([^'\"]*)['\"]", versionfile, re.M)
if mo:
version = mo.group(1)
else:
raise RuntimeError("Unable to find version string in flask_lastuser/_version.py.")
requires = [
'coaster',
'SQLAlchemy>=1.0',
'Flask-Babel',
'Flask>=1.0',
'requests',
]
setup(
name='Flask-Lastuser',
version=version,
url='https://github.com/hasgeek/flask-lastuser',
license='BSD',
author='Kiran Jonnalagadda',
author_email='[email protected]',
description='Flask extension for Lastuser',
long_description=README + '\n\n' + CHANGES,
packages=find_packages(),
include_package_data=True,
zip_safe=True,
platforms='any',
install_requires=requires,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
],
dependency_links=[
"https://github.com/hasgeek/coaster/archive/master.zip#egg=coaster",
],
)