Turns out, you should only upload the source package :)
Also add clean target and sign package
This commit is contained in:
Родитель
7533118b79
Коммит
9071796c7c
3
Makefile
3
Makefile
|
@ -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
|
||||
|
|
4
setup.py
4
setup.py
|
@ -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"),
|
||||
|
|
Загрузка…
Ссылка в новой задаче