-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
28 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
__version__ = '0.1-final' | ||
__author__ = 'Hugo Lefeuvre' | ||
__author_email__ = 'hle@owl.eu.com' | ||
__license__ = 'MIT' | ||
__description__ = 'The lightweight static website generator' | ||
__url__ = 'http://github.com/hlef/juliet' |
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 |
---|---|---|
@@ -1,23 +1,27 @@ | ||
#!/usr/bin/python3 | ||
|
||
from setuptools import setup | ||
import juliet | ||
from distutils.util import convert_path | ||
import os | ||
|
||
setup(name='juliet', | ||
version=juliet.__version__, | ||
description='The lightweight static website generator', | ||
url='http://github.com/hlef/juliet', | ||
author=juliet.__author__, | ||
author_email=juliet.__author_email__, | ||
license='MIT', | ||
packages=['juliet'], | ||
entry_points={ | ||
'console_scripts': [ | ||
'juliet = juliet:main' | ||
] | ||
}, | ||
name = 'juliet' | ||
packages = ['juliet'] | ||
requires = ['jinja2>=2.7', 'pygments', 'pyyaml>=3.11', 'markdown', 'python-slugify'] | ||
|
||
main_ns = {} | ||
with open(convert_path(os.path.join(packages[0], 'version.py'))) as ver_file: | ||
exec(ver_file.read(), main_ns) | ||
|
||
setup(name=name, | ||
version=main_ns['__version__'], | ||
description=main_ns['__description__'], | ||
url=main_ns['__url__'], | ||
author=main_ns['__author__'], | ||
author_email=main_ns['__author_email__'], | ||
license=main_ns['__license__'], | ||
packages=packages, | ||
entry_points={'console_scripts': ['juliet = juliet:main']}, | ||
zip_safe=False, | ||
install_requires = ['jinja2>=2.7', 'pygments', 'pyyaml>=3.11', 'markdown', | ||
'python-slugify'], | ||
install_requires = requires, | ||
test_suite='nose.collector', | ||
tests_require=['nose']) |