Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Commit a015fa0

Browse files
committed
Refactor directory
1 parent 09c5983 commit a015fa0

15 files changed

+11
-16
lines changed

example/tile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../tile
1+
../src/tile/

setup.py

+10-15
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,17 @@
1-
try:
2-
from setuptools import setup
3-
except ImportError:
4-
from distutils.core import setup
5-
6-
version_tuple = __import__('tile').VERSION
7-
if len(version_tuple) == 3:
8-
version = "%d.%d_%s" % version_tuple
9-
else:
10-
version = "%d.%d" % version_tuple[:2]
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
import os
4+
import sys
5+
from setuptools import find_packages, setup
116

127
setup(name = "tile",
138
author = "Eric Man",
149
url = "http://github.com/GradConnection/django-ajax-tile",
15-
version = version,
16-
packages = ['tile',],
17-
package_dir = {'': ''},
18-
package_data = {'tile': ['static/tile/*',],},
19-
# distutils complain about these, anyone know an easy way to silence it?
10+
version = "0.0",
11+
packages = find_packages('src'),
12+
package_dir = {'': 'src'},
13+
include_package_data = True,
2014
zip_safe = True,
15+
install_requires = ['setuptools'],
2116
)
2217

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)