Skip to content

Commit

Permalink
Move documentary files to locations where they are expected.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Mar 21, 2018
1 parent c498cb6 commit 0fe6133
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 21 deletions.
File renamed without changes.
10 changes: 9 additions & 1 deletion COPYRIGHT.txt
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
Zope Foundation and Contributors
Copyright (c) 2008-2018 Zope Foundation and Contributors.
All Rights Reserved.

This software is subject to the provisions of the Zope Public License,
Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
FOR A PARTICULAR PURPOSE.
9 changes: 0 additions & 9 deletions Products/CMFUid/COPYRIGHT.txt

This file was deleted.

1 change: 0 additions & 1 deletion Products/CMFUid/version.txt

This file was deleted.

File renamed without changes.
1 change: 0 additions & 1 deletion README.txt

This file was deleted.

19 changes: 10 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,21 @@
here = os.path.abspath(os.path.dirname(__file__))
package = os.path.join(here, 'Products', NAME)

def _package_doc(name):
with open(os.path.join(package, name)) as f:

def _read(name):
with open(name) as f:
return f.read()


_boundary = '\n' + ('-' * 60) + '\n\n'
README = ( _package_doc('README.txt')
+ _boundary
+ _package_doc('CHANGES.txt')
+ _boundary
+ "Download\n========"
)
README = _boundary.join([
_read('README.rst'),
_read('CHANGES.rst'),
])


setup(name='Products.%s' % NAME,
version=_package_doc('version.txt').strip(),
version="3.0.dev0",
description='Uid product for the Zope Content Management Framework',
long_description=README,
classifiers=[
Expand Down

0 comments on commit 0fe6133

Please sign in to comment.