1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00
0bin/setup.py
Shir0kamii 590ea9913f Merge remove_paste.py and and zerobin.py in cmd.py
The two commands have been merged together, using subcommands.

`remove_paste` is now accessible with `zerobin delete-paste`

`zerobin` is moved to `zerobin runserver` but is still accessible
with `zerobin` to keep compatibility with older versions. Unfortunately,
clize is not structured to allow default subcommand and the actual
implementation is nothing but a hack.
2015-09-18 17:36:14 +02:00

72 lines
1.4 KiB
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# vim: ai ts=4 sts=4 et sw=4 nu
import os
import zerobin
from setuptools import setup, find_packages
src_directory = 'zerobin'
open('MANIFEST.in', 'w').write('\n'.join((
"include *.rst *.tx",
"recursive-include %s *.png *.jpg *.gif *.ico" % src_directory,
"recursive-include %s *.css *.js *.swf" % src_directory,
"recursive-include %s *.tpl" % src_directory
)))
setup(
name="zerobin",
version=zerobin.__version__,
packages=find_packages(exclude=["libs", "libs.*"]),
author="Sam et Max",
author_email="lesametlemax@gmail.com",
description="An client side encrypted pastebin",
long_description=open('README.rst').read(),
install_requires=[
'cherrypy',
'bottle',
'clize',
'lockfile',
],
include_package_data=True,
dependency_links=[
'http://www.subspacefield.org/security/privilege/code/privilege/'
],
classifiers=[
'Programming Language :: Python',
"Intended Audience :: Information Technology",
"License :: OSI Approved :: zlib/libpng License",
"Natural Language :: English",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
],
entry_points = {
'console_scripts': [
'zerobin = zerobin.cmd:main',
]
}
)