s/runbullet/platypush/g

This commit is contained in:
Fabio Manganiello 2017-12-11 20:30:57 +01:00
parent 50413dd89d
commit 6c2ea3767c
18 changed files with 37 additions and 37 deletions

View file

@ -15,42 +15,42 @@ def pkg_files(dir):
return paths
def create_etc_dir():
path = '/etc/runbullet'
path = '/etc/platypush'
try:
os.makedirs(path)
except OSError as e:
if isinstance(e, PermissionError):
print('WARNING: Could not create /etc/runbullet')
print('WARNING: Could not create /etc/platypush')
elif e.errno == errno.EEXIST and os.path.isdir(path):
pass
else:
raise
plugins = pkg_files('runbullet/plugins')
backend = pkg_files('runbullet/backend')
plugins = pkg_files('platypush/plugins')
backend = pkg_files('platypush/backend')
create_etc_dir()
setup(
name = "runbullet",
name = "platypush",
version = "0.2.2.dev2",
author = "Fabio Manganiello",
author_email = "info@fabiomanganiello.com",
description = ("Runbullet service"),
description = ("Platypush service"),
license = "MIT",
python_requires = '>= 3',
keywords = "pushbullet notifications automation",
url = "https://github.com/BlackLight/runbullet",
# packages = ['runbullet'],
url = "https://github.com/BlackLight/platypush",
# packages = ['platypush'],
packages = find_packages(),
# package_data = {'': plugins},
scripts = ['runbullet/bin/pusher'],
scripts = ['platypush/bin/pusher'],
entry_points = {
'console_scripts': [
'runbullet=runbullet:main',
'platypush=platypush:main',
],
},
data_files = [
('/etc/runbullet', ['runbullet/config.example.yaml'])
('/etc/platypush', ['platypush/config.example.yaml'])
],
long_description = read('README.md'),
classifiers = [