-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathsetup.py
executable file
·60 lines (54 loc) · 1.63 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
#!/usr/bin/env python3
import os
import sys
import setuptools
import src.pasttle as pasttle
readme = os.path.join(os.path.dirname(sys.argv[0]), 'README.rst')
requirements = os.path.join(os.path.dirname(sys.argv[0]), 'requirements.txt')
install_requires = open(requirements).readlines()
setuptools.setup(
name='pasttle',
packages=[
'pasttle',
],
package_dir={
'': 'src',
},
package_data={
'pasttle': [
'views/*.html',
'views/css/*.css',
'views/images/*',
],
},
version=pasttle.__version__,
url='https://github.com/thekad/pasttle',
description='Simple pastebin on top of bottle.',
author='Jorge Gallegos',
author_email='[email protected]',
license='MIT',
platforms='any',
zip_safe=False,
entry_points={
'console_scripts': [
'pasttle-server.py=pasttle.server:main'
],
},
classifiers=[
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Development Status :: 4 - Beta',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords=['pastebin', 'web', 'paste', 'bottlepy'],
long_description=open(readme).read(),
install_requires=install_requires,
test_suite='tests.all.test_suites',
)