changeset 726c1bb171ec in modules/stock_supply_forecast:default
details: 
https://hg.tryton.org/modules/stock_supply_forecast?cmd=changeset;node=726c1bb171ec
description:
        Merge README and doc and remove INSTALL

        issue7397
        review253271002
diffstat:

 INSTALL       |  31 -------------------------------
 MANIFEST.in   |   8 +++-----
 README        |  32 --------------------------------
 README.rst    |   1 +
 doc/index.rst |   5 +++++
 setup.py      |  10 ++++++++--
 6 files changed, 17 insertions(+), 70 deletions(-)

diffs (131 lines):

diff -r eaea1418b906 -r 726c1bb171ec INSTALL
--- a/INSTALL   Sun Mar 31 00:15:10 2019 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-Installing trytond_stock_supply_forecast
-========================================
-
-Prerequisites
--------------
-
- * Python 3.4 or later (http://www.python.org/)
- * trytond (http://www.tryton.org/)
- * trytond_stock_supply (http://www.tryton.org/)
- * trytond_stock_forecast (http://www.tryton.org/)
-
-Installation
-------------
-
-Once you've downloaded and unpacked a trytond_stock_supply_forecast source 
release, enter the
-directory where the archive was unpacked, and run:
-
-    python setup.py install
-
-Note that you may need administrator/root privileges for this step, as
-this command will by default attempt to install module to the Python
-site-packages directory on your system.
-
-For advanced options, please refer to the easy_install and/or the distutils
-documentation:
-
-  http://setuptools.readthedocs.io/en/latest/easy_install.html
-  http://docs.python.org/inst/inst.html
-
-To use without installation, extract the archive into ``trytond/modules`` with
-the directory name stock_supply_forecast.
diff -r eaea1418b906 -r 726c1bb171ec MANIFEST.in
--- a/MANIFEST.in       Sun Mar 31 00:15:10 2019 +0100
+++ b/MANIFEST.in       Sat Apr 06 17:38:57 2019 +0200
@@ -1,7 +1,5 @@
-include INSTALL
-include README
+include CHANGELOG
 include COPYRIGHT
-include CHANGELOG
 include LICENSE
-include tryton.cfg
-include *.xml
+include README.rst
+include doc/*
diff -r eaea1418b906 -r 726c1bb171ec README
--- a/README    Sun Mar 31 00:15:10 2019 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-trytond_stock_supply_forecast
-=============================
-
-The stock_supply_forecast module of the Tryton application platform.
-
-Installing
-----------
-
-See INSTALL
-
-Support
--------
-
-If you encounter any problems with Tryton, please don't hesitate to ask
-questions on the Tryton forum or IRC channel:
-
-  http://www.tryton.org/forum
-
-License
--------
-
-See LICENSE
-
-Copyright
----------
-
-See COPYRIGHT
-
-
-For more information please visit the Tryton web site:
-
-  http://www.tryton.org/
diff -r eaea1418b906 -r 726c1bb171ec README.rst
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/README.rst        Sat Apr 06 17:38:57 2019 +0200
@@ -0,0 +1,1 @@
+doc/index.rst
\ No newline at end of file
diff -r eaea1418b906 -r 726c1bb171ec doc/index.rst
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/index.rst     Sat Apr 06 17:38:57 2019 +0200
@@ -0,0 +1,5 @@
+Stock Supply Forecast Module
+############################
+
+The stock supply forecast module takes forecast into account to compute
+purchase requests.
diff -r eaea1418b906 -r 726c1bb171ec setup.py
--- a/setup.py  Sun Mar 31 00:15:10 2019 +0100
+++ b/setup.py  Sat Apr 06 17:38:57 2019 +0200
@@ -26,7 +26,7 @@
 
 
 config = ConfigParser()
-config.read_file(open('tryton.cfg'))
+config.read_file(open(os.path.join(os.path.dirname(__file__), 'tryton.cfg')))
 info = dict(config.items('tryton'))
 for key in ('depends', 'extras_depend', 'xml'):
     if key in info:
@@ -58,11 +58,17 @@
 setup(name=name,
     version=version,
     description='Tryton module to add forecast to supply computation',
-    long_description=read('README'),
+    long_description=read('README.rst'),
     author='Tryton',
     author_email='[email protected]',
     url='http://www.tryton.org/',
     download_url=download_url,
+    project_urls={
+        "Bug Tracker": 'https://bugs.tryton.org/',
+        "Documentation": 'https://docs.tryton.org/',
+        "Forum": 'https://www.tryton.org/forum',
+        "Source Code": 'https://hg.tryton.org/modules/stock_supply_forecast',
+        },
     keywords='tryton stock supply forecast',
     package_dir={'trytond.modules.stock_supply_forecast': '.'},
     packages=(

Reply via email to