-
-
Notifications
You must be signed in to change notification settings - Fork 75
/
setup.py
37 lines (31 loc) · 1.1 KB
/
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
32
33
34
35
36
37
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) Lynn Root 2014
from __future__ import print_function
from setuptools import setup
import io
def read(*filenames, **kwargs):
# adapted from http://www.jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
encoding = kwargs.get("encoding", "utf-8")
sep = kwargs.get("sep", "\n")
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
long_description = read("README.md", "docs/changelog.md")
setup(
name="pyladies",
version="2.0.4",
author="Lynn Root",
author_email="[email protected]",
license="Creative Commons Attribution-ShareAlike 3.0 Unported",
platforms="any",
url="http://www.pyladies.com",
description="Everything you need to start your own PyLadies location",
long_description=long_description,
install_requires=["Sphinx", "sphinx-rtd-theme"],
packages=["pyladies"],
entry_points={"console_scripts": ["pyladies = pyladies.main:main"]},
include_package_data=True,
)