Skip to content
This repository was archived by the owner on Nov 6, 2018. It is now read-only.

Commit a518d20

Browse files
committed
Added MANIFEST and setup files for uploading to PyPI
1 parent 176b874 commit a518d20

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

MANIFEST.in

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
include TODO.rst AUTHORS.rst requirements.txt run_tests.py README.rst
2+
recursive-include algorithms *
3+
recursive-exclude algorithms *.pyc

setup.py

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
from setuptools import setup
2+
3+
#Read in the README for the long description on PyPI
4+
def long_description():
5+
with open('README.rst', 'r') as f:
6+
readme = unicode(f.read())
7+
return readme
8+
9+
setup(name='algorithms',
10+
version='0.1',
11+
description='module of algorithms for Python',
12+
long_description=long_description(),
13+
url='https://github.com/nryoung/algorithms',
14+
author='Nic Young',
15+
author_email='nryoung@gmail.com',
16+
license='BSD',
17+
packages=['algorithms', 'algorithms.sorting', 'algorithms.shuffling',
18+
'algorithms.searching', 'algorithms.math', 'algorithms.tests'],
19+
zip_safe=False)

0 commit comments

Comments
 (0)