Skip to content

Commit

Permalink
setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
yaph committed Nov 4, 2011
1 parent 4835184 commit dbdb5b9
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.1, <date> -- Initial release.
v0.9, <date> -- Initial release.
2 changes: 1 addition & 1 deletion INSTALL
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Please use
sudo pip install geeklog
sudo pip install logya
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include INSTALL
include LICENSE
include CHANGES
include README.markdown
include README.markdown
9 changes: 7 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,16 @@ The following folders and files are recognized when generating a Web site with L

## Version 0.9

* make distribute work and add to PyPI
* add package data http://packages.python.org/distribute/setuptools.html#including-data-files
* http://packages.python.org/distribute/setuptools.html#accessing-data-files-at-runtime
* http://peak.telecommunity.com/DevCenter/PythonEggs#accessing-package-resources
* make distribute work and

## Version 1.0

* rebuild everything :D
* documentation
* replace 0.9
* add to PyPI

## Further Plans and Ideas

Expand Down
3 changes: 2 additions & 1 deletion logya/create.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
import os
import shutil
from pkg_resources import resource_filename
from logya import Logya

class Create(Logya):
Expand All @@ -9,6 +10,6 @@ class Create(Logya):
def __init__(self, name):

super(self.__class__, self).__init__()
src = os.path.join(self.dir_src, 'sites', 'docs')
src = resource_filename(__name__, 'sites/docs')
dst = os.path.join(self.dir_current, name)
shutil.copytree(src, dst)
1 change: 0 additions & 1 deletion logya/logya.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def __init__(self, **kwargs):
# a dictionary of indexes with parsed documents
self.indexes = {}

self.dir_src = sys.path[0]
self.dir_current = os.getcwd()

def info(self, msg):
Expand Down
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

#http://packages.python.org/distribute/setuptools.html#declaring-dependencies

from setuptools import setup
from setuptools import setup, find_packages
from logya import __version__

setup(
name='logya',
version=__version__,
description='TODO',
description='Logya is a static Web site generator written in Python designed to be easy to use and flexible.',
long_description=open('README.markdown').read(),
url='TODO',
download_url='TODO-logya-%s.tar.gz' % __version__,
Expand All @@ -20,14 +20,15 @@
keywords=['Website Generator'],
license='MIT',
packages = find_packages(),
test_suite='tests.all_tests',
#test_suite='tests.all_tests',
classifiers=[
'Development Status :: 1 - Planning',
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python'],
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP :: Site Management'],
install_requires=['distribute', 'jinja2'],
entry_points = {
'console_scripts': [
Expand Down

0 comments on commit dbdb5b9

Please sign in to comment.