Skip to content

Commit

Permalink
For some reason setuptools fails on too many capital letters in name…
Browse files Browse the repository at this point in the history
  • Loading branch information
lrem committed Sep 25, 2013
1 parent a041d09 commit 467dc6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 1 addition & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
recursive-include src/markdoc/static/ *
recursive-include src/phdoc/static/ *
include distribute_setup.py
include REQUIREMENTS
global-exclude .DS_Store
prune src/markdoc/static/default-static/media/sass/.sass-cache
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
import os.path as p
import re

from distribute_setup import use_setuptools; use_setuptools()
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages


rel_file = lambda *args: p.join(p.dirname(p.abspath(__file__)), *args)


def read_from(filename):
fp = open(filename)
try:
Expand All @@ -31,7 +33,7 @@ def relpath(path, start=p.curdir):
# Work out how much of the filepath is shared by start and path.
i = len(p.commonprefix([start_list, path_list]))

rel_list = [p.pardir] * (len(start_list)-i) + path_list[i:]
rel_list = [p.pardir] * (len(start_list) - i) + path_list[i:]
if not rel_list:
return p.curdir
return p.join(*rel_list)
Expand Down Expand Up @@ -61,7 +63,7 @@ def find_package_data():
return files

setup(
name = 'PHDoc',
name = 'phdoc',
version = get_version(),
author = "Remigiusz 'lRem' Modrzejewski",
url = 'http://github.com/lrem/phdoc',
Expand Down

0 comments on commit 467dc6c

Please sign in to comment.