Turns out, you should only upload the source package :)

Also add clean target and sign package
This commit is contained in:
Guillaume Destuynder 2015-06-19 16:48:04 -07:00
Родитель 7533118b79
Коммит 9071796c7c
2 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -21,9 +21,10 @@ test:
python ./mozdef_client.py
pypi:
python setup.py bdist sdist sdist check upload
python setup.py sdist check upload --sign
clean:
rm -rf *pyc
rm -rf build
rm -rf __pycache__
rm -rf dist

Просмотреть файл

@ -6,7 +6,7 @@
# Author: gdestuynder@mozilla.com
import os
from distutils.core import setup
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
@ -14,7 +14,7 @@ def read(fname):
setup(
name = "mozdef_client",
py_modules = ['mozdef_client'],
version = "1.0.1",
version = "1.0.4",
author = "Guillaume Destuynder",
author_email = "gdestuynder@mozilla.com",
description = ("A client library to send messages/events using MozDef"),