Add support for setup tools
Add support for pip requirements Add Makefile to do the above in a controlled fashion
This commit is contained in:
Родитель
88c0aa0502
Коммит
1bbe04a415
|
@ -0,0 +1,10 @@
|
|||
all:
|
||||
./setup.py build
|
||||
|
||||
install:
|
||||
./setup.py install
|
||||
|
||||
clean:
|
||||
rm -rf *pyc
|
||||
rm -rf build
|
||||
rm -rf __pycache__
|
|
@ -0,0 +1,2 @@
|
|||
pytz==2014.1
|
||||
requests-futures==0.9.4
|
|
@ -0,0 +1,27 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
from distutils.core import setup
|
||||
|
||||
def read(fname):
|
||||
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
||||
|
||||
setup(
|
||||
name = "mozdef",
|
||||
py_modules=['mozdef'],
|
||||
version = "1.0.0",
|
||||
author = "Guillaume Destuynder",
|
||||
author_email = "gdestuynder@mozilla.com",
|
||||
description = ("A client library to send messages using MozDef"),
|
||||
license = "MPL",
|
||||
keywords = "mozdef client library",
|
||||
url = "https://github.com/gdestuynder/mozdef_lib",
|
||||
long_description=read('README.rst'),
|
||||
requires=['requests_futures', 'pytz'],
|
||||
classifiers=[
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Topic :: System :: Logging",
|
||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
|
||||
],
|
||||
)
|
Загрузка…
Ссылка в новой задаче