mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
adds base_dir
This commit is contained in:
parent
3e7f9ba301
commit
862fd796be
1 changed files with 38 additions and 0 deletions
38
setup.py
Normal file
38
setup.py
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
from setuptools import setup, find_packages
|
||||||
|
import os.path
|
||||||
|
import sys
|
||||||
|
|
||||||
|
install_requires = ["parsedatetime", "pycrypto"]
|
||||||
|
if sys.version_info < (2, 6):
|
||||||
|
install_requires.append("simplejson")
|
||||||
|
|
||||||
|
base_dir = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
|
||||||
|
setup(
|
||||||
|
name = "jrnl",
|
||||||
|
version = "0.1.1",
|
||||||
|
description = "A command line journal application that stores your journal in a plain text file",
|
||||||
|
|
||||||
|
packages = find_packages(),
|
||||||
|
scripts = ['jrnl.py'],
|
||||||
|
install_requires = install_requires,
|
||||||
|
|
||||||
|
package_data = {
|
||||||
|
# If any package contains *.txt or *.rst files, include them:
|
||||||
|
'': ['*.txt', '*.rst'],
|
||||||
|
# And include any *.msg files found in the 'hello' package, too:
|
||||||
|
'hello': ['*.msg'],
|
||||||
|
},
|
||||||
|
|
||||||
|
long_description="\n\n".join([
|
||||||
|
open(os.path.join(base_dir, "README.md"), "r").read(),
|
||||||
|
open(os.path.join(base_dir, "CHANGELOG.md"), "r").read()
|
||||||
|
]),
|
||||||
|
|
||||||
|
# metadata for upload to PyPI
|
||||||
|
author = "Manuel Ebert",
|
||||||
|
author_email = "manuel.ebert@upf.edu",
|
||||||
|
license = "MIT",
|
||||||
|
keywords = "journal todo todo.txt jrnl",
|
||||||
|
url = "http://maebert.github.com/jrnl", # project home page, if any
|
||||||
|
)
|
Loading…
Add table
Reference in a new issue