Правки информационных файлов согласно стандарту релизов на PyPI

pull/17/head
Andriy Kushnir (Orhideous) 2016-03-24 00:06:35 +02:00
parent 3f97769f94
commit 2eff62c736
4 changed files with 31 additions and 12 deletions

8
HISTORY.rst Normal file
View File

@ -0,0 +1,8 @@
==============
История версий
==============
1.5.0a0 (-)
-----------
* Стабилизация кодовой базы для разработки

View File

@ -1,5 +0,0 @@
# ponyFiction
## CMS библиотеки на stories.everypony.ru
Для справки по разработке см. CONTRIBUTING.md

16
README.rst Normal file
View File

@ -0,0 +1,16 @@
===========
ponyFiction
===========
.. image:: https://img.shields.io/pypi/v/ponyFiction.svg
:target: https://pypi.python.org/pypi/ponyFiction
.. image:: https://readthedocs.org/projects/ponyFiction/badge/?version=latest
:target: https://readthedocs.org/projects/ponyFiction/?badge=latest
:alt: Документация
CMS библиотеки на stories.everypony.ru
* Свободное ПО: лицензия GPLv3
* Документация (в разработке): https://ponyfiction.readthedocs.org.

View File

@ -1,21 +1,21 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from os.path import dirname, join
from setuptools import setup, find_packages
from ponyFiction import VERSION
def read(*args):
return open(join(dirname(__file__), *args), encoding="utf-8").read()
readme = read("README.md")
requirements = read("config", "requirements.txt").splitlines(),
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
with open('config/requirements.txt') as requirements_file:
requirements = requirements_file.read().splitlines()
setup(
name="ponyFiction",
version=VERSION,
description="Fanfiction library for everypony.ru",
long_description=readme,
long_description=readme + '\n\n' + history,
author="Andriy Kushnir (Orhideous)",
author_email="me@orhideous.name",
url="https://github.com/RuFimFiction/ponyFiction",