-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
58 lines (53 loc) · 1.63 KB
/
setup.py
File metadata and controls
58 lines (53 loc) · 1.63 KB
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
from setuptools import setup, find_packages
import re
readme = ''
history = ''
with open('README.rst', 'r') as f:
readme = f.read()
with open('HISTORY.rst', 'r') as f:
history = f.read()
with open('glass/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Cannot find version information')
setup(
name="glass-api",
version=version,
packages=find_packages(),
package_data={},
entry_points={
'console_scripts': [
'glass = glass.cli:cli'
]
},
classifiers=(
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Environment :: Console',
'Topic :: Internet',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
),
# metadata for upload to PyPI
license='Apache 2.0',
author="Servee LLC - Issac Kelly",
author_email="issac@servee.com",
url="http://www.website.glass/",
keywords='glass CMS',
description="Glass CLI",
install_requires=[
'click==6.6',
'requests==2.10.0',
'pathspec==0.3.4',
'watchdog==0.8.3',
],
long_description=readme + '\n\n' + history,
)