-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
65 lines (55 loc) · 1.61 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
64
65
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import pelican_gist
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist bdist_wheel upload')
sys.exit()
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
readme = f.read()
packages = [
'pelican_gist',
]
requires = [
'requests>=2.2.0',
'pygments'
]
tests_require = [
'mock>=1.0.1'
]
setup(
name='pelican-gist',
version=pelican_gist.__version__,
description='Easily embed GitHub Gists in your Pelican articles.',
long_description=readme,
author='Chris Streeter',
author_email='[email protected]',
url='https://github.com/streeter/pelican-gist',
packages=packages,
package_data={'': ['LICENSE', ]},
package_dir={'pelican_gist': 'pelican_gist'},
include_package_data=True,
install_requires=requires,
tests_require=tests_require,
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing',
],
)