2011-07-24 37 views
0

在Windows 7上,运行Python 2.7,python setup.py install安装python-money,但不安装包含的money.django包。简单setup.py看似破碎

可以找到setup.py文件here。以下列出一些它的方便:

import os 
from setuptools import setup 

def read(fname): 
     return open(os.path.join(os.path.dirname(__file__), fname)).read() 

setup(
     name = "python-money", 
     version = "0.6", 
     author = "Jordan Dimov", 
     author_email = "[email protected]", 
     maintainer = "Ben Coughlan", 
     maintainer_email = "[email protected]", 
     description = ("Data classes to represent Money and Currency types"), 
     license = "BSD", 
     keywords = "money currency", 
     url = "http://code.google.com/p/python-money", 
     packages = ['money', 'money.django'], 
     long_description = read('README.txt'), 
     classifiers = [ 
       "Development Status :: 4 - Beta", 
       "Environment :: Plugins", 
       "Environment :: Other Environment", 
       "Framework :: Django", 
       "Operating System :: OS Independent", 
       "Intended Audience :: Developers", 
       "Intended Audience :: Financial and Insurance Industry", 
       "License :: OSI Approved :: BSD License", 
       "Programming Language :: Python", 
       "Topic :: Office/Business :: Financial", 
     ] 
) 

回答