Skip to content

Commit a3a47ce

Browse files
committed
update metadata
1 parent 956d41a commit a3a47ce

File tree

7 files changed

+77
-54
lines changed

7 files changed

+77
-54
lines changed

AUTHORS.rst

Lines changed: 0 additions & 10 deletions
This file was deleted.

LICENSE.rst

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,31 @@
1-
Copyright (c) 2014 by the sopython organization and contributors.
2-
See AUTHORS.rst for more details.
1+
Copyright © 2014 by the sopython organization.
32

43
Some rights reserved.
54

6-
Redistribution and use in source and binary forms of the software as well as documentation, with or without modification, are permitted provided that the following conditions are met:
5+
Redistribution and use in source and binary forms, with or without
6+
modification, are permitted provided that the following conditions are
7+
met:
78

8-
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
9-
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
10-
* The names of the contributors may not be used to endorse or promote products derived from this software without specific prior written permission.
9+
* Redistributions of source code must retain the above copyright notice,
10+
this list of conditions and the following disclaimer.
1111

12-
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12+
* Redistributions in binary form must reproduce the above copyright
13+
notice, this list of conditions and the following disclaimer in the
14+
documentation and/or other materials provided with the distribution.
15+
16+
* Neither the name of the copyright holder nor the names of its
17+
contributors may be used to endorse or promote products derived from
18+
this software without specific prior written permission.
19+
20+
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND
21+
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
22+
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
23+
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
24+
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
25+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
26+
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
27+
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
28+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30+
THIS SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF
31+
SUCH DAMAGE.

MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
include requirements.txt AUTHORS.rst LICENSE.rst
1+
include requirements.txt LICENSE.rst
22
graft docs
33
prune docs/_build
44
recursive-include sopy/migrations *.py
55
graft sopy/static
66
graft sopy/templates
7+
recursive-exclude *.pyc

README.rst

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
1-
**so**\ python
2-
==============
1+
sopython
2+
========
33

4-
Cabbage, World!
5-
6-
Welcome to **so**\ python, the website of the Python community on `Stack Overflow`_.
4+
Welcome to **so**\ python, the website of the Python community on
5+
`Stack Overflow`_.
76

87
Join us for chat in the `Python room`_!
98

10-
.. _Stack Overflow: http://stackoverflow.com/
11-
.. _Python room: http://chat.stackoverflow.com/rooms/6/python
9+
.. _Stack Overflow: https://stackoverflow.com/questions/tagged/python?sort=frequent
10+
.. _Python room: https://chat.stackoverflow.com/rooms/6/python
11+
1212

1313
Develop
1414
-------
1515

1616
::
1717

18-
git clone ssh://git@github.com/sopython/sopython-site sopy
19-
pip install https://github.com/mitsuhiko/flask/archive/master.zip
20-
pip install -e ./sopy
18+
git clone ssh://git@github.com/sopython/sopython-site
19+
cd sopython-site
20+
pip install -e '.[dev]'
21+
2122

2223
Documentation
2324
-------------

requirements.txt

Lines changed: 0 additions & 18 deletions
This file was deleted.

setup.cfg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
[metadata]
2+
license_file = LICENSE.rst
3+
14
[egg_info]
25
tag_build = .dev
36
tag_date = 1
47

58
[aliases]
6-
release = egg_info -RDb ''
9+
release = egg_info -Db ''

setup.py

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,46 @@
11
#!/usr/bin/env python
22
from setuptools import setup, find_packages
33

4-
with open('requirements.txt') as f:
5-
requirements = f.read().splitlines()
4+
with open('README.rst', encoding='utf8') as f:
5+
readme = f.read()
66

77
setup(
88
name='sopy',
99
version='1.7',
10-
packages=find_packages(),
11-
include_package_data=True,
1210
url='http://sopython.com/',
13-
license='BSD',
1411
author='David Lord',
1512
author_email='davidism@gmail.com',
13+
license='BSD',
1614
description='The productive programming cabbage website.',
17-
entry_points={'console_scripts': ['sopy = sopy.manage:cli.main']},
18-
install_requires=requirements
15+
long_description=readme,
16+
zip_safe=False,
17+
python_requires='>=3.4',
18+
include_package_data=True,
19+
packages=find_packages(),
20+
install_requires=[
21+
'Flask',
22+
'Flask-Alembic',
23+
'Flask-Babel',
24+
'Flask-Mail',
25+
'Flask-SQLAlchemy',
26+
'Flask-WTF',
27+
'beautifulsoup4',
28+
'hoep',
29+
'inflection',
30+
'lxml',
31+
'psycopg2',
32+
'Pygments',
33+
'requests',
34+
],
35+
extras_require={
36+
'dev': [
37+
'Flask-Shell-IPython',
38+
'Sphinx',
39+
]
40+
},
41+
entry_points = {
42+
'console_scripts': [
43+
'sopy = sopy.manage:cli.main',
44+
],
45+
},
1946
)

0 commit comments

Comments
 (0)