-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python3 support in sight, some encoding issues remain
- Loading branch information
Showing
11 changed files
with
46 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,21 +12,10 @@ | |
with open('requirements.txt') as f: | ||
required = f.read().splitlines() | ||
|
||
|
||
def get_package_data(): | ||
"""Return a list of files in sites dir to include in package.""" | ||
|
||
dir_base = os.path.join(os.getcwd(), 'logya') | ||
dir_sites = os.path.join(dir_base, 'sites') | ||
sites_files = [] | ||
for root, dirs, files in os.walk(dir_sites): | ||
sites_files.extend([os.path.join(root, f).replace(dir_base, '').lstrip('/') for f in files]) | ||
return sites_files | ||
|
||
setup( | ||
name='logya', | ||
version='3.0', | ||
description='Logya is a static Web site generator written in Python designed to be easy to use and flexible.', | ||
version=3.0, | ||
description='Logya: easy to use and flexible static Web site generator.', | ||
long_description=readme, | ||
url='http://yaph.github.com/logya/', | ||
author='Ramiro Gómez', | ||
|
@@ -35,20 +24,21 @@ def get_package_data(): | |
maintainer_email='[email protected]', | ||
keywords=['Website Generator'], | ||
license=license, | ||
packages=find_packages(), | ||
package_data={'logya': get_package_data()}, | ||
install_requires = required, | ||
packages=['logya'], | ||
include_package_data=True, | ||
exclude_package_data={'': ['*.pyc']}, | ||
install_requires=required, | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'Development Status :: 4 - Beta', | ||
'Environment :: Console', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: POSIX :: Linux', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python', | ||
'Topic :: Internet :: WWW/HTTP :: Site Management'], | ||
entry_points={ | ||
'console_scripts': [ | ||
'logya=logya.main:main' | ||
'logya = logya.main:main' | ||
] | ||
} | ||
) |