-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
31 lines (25 loc) · 880 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def requirements(fname):
for line in open(os.path.join(os.path.dirname(__file__), fname)):
yield line.strip()
setup(
name="mwsessions",
version="0.0.2", # Change in mwsessions/__init__.py
author="Aaron Halfaker",
author_email="[email protected]",
url="http://github.com/mediawiki-utilities/python-mwsessions",
packages=find_packages(),
entry_points = {
'console_scripts': [
'mwsessions=mwsessions.mwsessions:main'
],
},
license=read("LICENSE"),
description="A set of utilities for group MediaWiki user actions into " +
"sessions.",
long_description=read("README.md"),
install_requires=requirements("requirements.txt")
)