Skip to content

Commit

Permalink
Config flie get copied to home directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dilawar committed Aug 15, 2014
1 parent 90b99ab commit dbb42ee
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import sys

from setuptools import setup

Expand All @@ -7,21 +8,26 @@ def read(*paths):
with open(os.path.join(*paths), 'r') as f:
return f.read()

configDir = os.path.join(os.environ('HOME'), '.config', 'sniffer')
if not configDir:
os.makedirs(configDir)

setup(
name='code-sniffer'
, version='0.9.7'
, version='0.9.8'
, description='A command-line tool to check plagiarim in text and pdf'
, long_description= read('README.rst')
, url = 'https://dilawar.github.io/sniffer'
, licence = 'GNU-GPL'
, license = 'LGPL'
, author = 'Dilawar Singh'
, author_email = 'dilawars@iitb.ac.in'
, author_email = 'dilawars@ncbs.res.in'
, maintainer = 'Dilawar Singh'
, maintainer_email = 'dilawars@iitb.ac.in'
, maintainer_email = 'dilawars@ncbs.res.in'
, requires = ['Python (>=2.6)']
, install_requires = { "pdfminer"}
, packages=['sniffer' ]
, include_package_data = True
, data_files = [(configDir, ['snifferrc'])]
, classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
Expand Down

0 comments on commit dbb42ee

Please sign in to comment.