-
-
Notifications
You must be signed in to change notification settings - Fork 150
/
setup.py
63 lines (56 loc) · 1.97 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
62
63
#!/usr/bin/env python
import re
from setuptools import setup
def fread(filepath):
with open(filepath) as f:
return f.read()
def version():
content = fread('livereload/__init__.py')
pattern = r"__version__ = '([0-9\.dev]*)'"
m = re.findall(pattern, content)
return m[0]
setup(
name='livereload',
version=version(),
author='Hsiaoming Yang',
author_email='[email protected]',
url='https://github.com/lepture/python-livereload',
packages=['livereload', 'livereload.management.commands'],
description='Python LiveReload is an awesome tool for web developers',
long_description_content_type='text/x-rst',
long_description=fread('README.md'),
entry_points={
'console_scripts': [
'livereload = livereload.cli:main',
]
},
install_requires=[
'tornado',
],
license='BSD',
include_package_data=True,
python_requires='>=3.7',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Environment :: Web Environment :: Mozilla',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX :: Linux',
'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',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Build Tools',
'Topic :: Software Development :: Compilers',
'Topic :: Software Development :: Debuggers',
]
)